Tag Info

New answers tagged

0

All I do is add my kml/kmz url as an argument to google maps ... like this: http://maps.google.com/?q=http://www.garrettcounty.org/resources/planning-land-development/pdf/Maps/2005tilegrid.kmz


2

The locations you specify are at different latitudes. Because the Spherical Mercator implementation used by Google maps compresses latitude, the scale will change depending on the distance from the Equator. In your example, try zooming out a long way, then navigate northwards. You'll see that the scale bar gets progressively longer as you pan.


0

The API gives you the KmlLayer class, which "creates a KmlLayer which renders the contents of the specified KML/KMZ file". Just pass the URL you're given in the KmlLayerOptions.


0

it actually says "meters" in the API reference for Distance Objects.


2

The function signature is: computeDistanceBetween(from:LatLng, to:LatLng, radius?:number) Given the documentation for the computeArea() function just above, I think you can safely assume it is in the same units as the radius, where "the default radius is Earth's radius of 6378137 meters". Of course, the earth isn't as spherical as Google Maps might like ...


0

Yes, you can use custom tiles with Android Maps API v2 - you can see a fully working example in our OpenTripPlanner for Android app on Github. (You can also download the app directly from Google Play) We support the following tile providers: LyrkOpenStreetMap MapQuestOpenStreetMap Mapnik CycleMap Google (normal, satellite, hybrid, terrain) Our ...


0

The most extensive solution I have found is in this StackOverflow Answer: Basically you need to implement your own TileProvider and use that as an TileOverlay In a couple of applications we have used this kind of layer to show tiles on the map, but we found the tiles took up a lot of space. Hence we shifted to using mbtiles and this library to display the ...


1

Try using CSS: #map-canvas div { cursor: pointer !important }



Top 50 recent answers are included