Tag Info

New answers tagged

0

If the marker successfully added to the map with L.marker(map.unproject([element.LocationX,element.LocationY],map.getMaxZoom()-4)).addTo(map); Then try: $.each(data, function(index, element) { var marker = L.marker(map.unproject([element.LocationX,element.LocationY],map.getMaxZoom()-4)).addTo(map); marker.bindPopup(element.id); ...


1

Have a look at leaflet maps - gps plugin (http://labs.easyblog.it/maps/leaflet-gps/) It automatically updates the gps location received from the device (html5 geolocation). I suppose you can attach a javascript to that updating event, to look up any POI's within a certain buffer around that gps point. These POI's can then be fed back into the leafletmap ...


0

Matej, Thats because Google API allow to pull up to 2.5k per day. About the Geo solution, batch is not yet found to be supported that's because from my review of the geo python code it's seems to open connection every time he request a new cordinate, 300k will probably stuck forever (probably with error 400). Play with Poligons should do the trick but it's ...


0

First of all, clarification is in order for ZIP codes. They are NOT boundaries or polygons. ZIP codes are service routes that are correctly represented as points or as sides of a street in a GIS context. If you are interested in using Mappperz links, I would supplement his recommendations with a page that talks about what ZCTAs are and how they are created ...


0

Yes! This is a free service, returns geojson from zipcodes: https://www.mashape.com/vanitysoft/boundaries-io you can include multiple zipcodes,cities,states.


0

If JavaScript is an option for you, you can use the geocoding service of Google maps API. When you send a geocoding request, you get in response a GeocoderResults object. One if its properties is a geometry object, which in turn has a property called bounds. This is actually a LatLngBounds object, that represnts the area of the geocoding result. This ...


2

This probably isn't the type of answer that you are looking for, but I'll try to give a general answer on how one could do this. If we break down your problem into smaller tasks, then the first thing that you need to do, is to get the point that the user clicks on. There is an sample on the OpenLayers site that shows exactly how to get this done. Click ...


1

I was able to fix the problem myself, hopefully I can help someone with my solution. I used Google Maps API DirectionMatrix, which fits much better than DirectionService. Here is the code: <?php //some php code..... ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Home</title> ...


1

Yes, using the server-side Geocoding API without displaying the results on a Google Map violates Google's Maps API Terms-of-Service. From Section 10.1.1(h): No Use of Content without a Google Map. You must not use or display the Content without a corresponding Google map, unless you are explicitly permitted to do so in the Maps APIs Documentation. In ...



Top 50 recent answers are included