Initial version -- added millennium read funcionality

This commit is contained in:
Pablo
2026-03-09 22:05:28 +01:00
commit 77c2ded482
2770 changed files with 141927 additions and 0 deletions
@@ -0,0 +1,36 @@
package com.google.maps.android.heatmaps;
import com.google.android.gms.maps.model.LatLng;
import com.google.maps.android.geometry.Point;
import com.google.maps.android.projection.SphericalMercatorProjection;
import com.google.maps.android.quadtree.PointQuadTree;
/* JADX INFO: loaded from: classes2.dex */
public class WeightedLatLng implements PointQuadTree.Item {
public static final double DEFAULT_INTENSITY = 1.0d;
private static final SphericalMercatorProjection sProjection = new SphericalMercatorProjection(1.0d);
private double mIntensity;
private Point mPoint;
public WeightedLatLng(LatLng latLng, double d) {
this.mPoint = sProjection.toPoint(latLng);
if (d >= 0.0d) {
this.mIntensity = d;
} else {
this.mIntensity = 1.0d;
}
}
public WeightedLatLng(LatLng latLng) {
this(latLng, 1.0d);
}
@Override // com.google.maps.android.quadtree.PointQuadTree.Item
public Point getPoint() {
return this.mPoint;
}
public double getIntensity() {
return this.mIntensity;
}
}