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 }


0

The reason you don't get the postal code is the query is too broad. If you would add a street name to the query the result will contain a postal code. A solution to your problem if you don't have a street name or don't want to use it is to split the geocoding into two parts: Step 1: Use the city to get the GPS coordinates ...


0

Changed browser from Google chrome to firefox it all works now


0

Create your own local server, kml file needs an http:// and then make sure the dashboard runs in firefox, google chrome could not display the data.



Top 50 recent answers are included