Tag Info

New answers tagged


You can generate a mesh of, for example, 0.001 degrees on each side, and make a reverse geocoding for every point. The google geocoder service would answer with N possible addresses. Each reverse geocoding request would have the following structure var latlng = new google.maps.LatLng(lat, lng); geocoder.geocode({'latLng': latlng}, function(results, ...


I think your problem is Chelsea is not a 'city' Chelsea is a neighborhood in the Borough of Manhattan, which is a 2nd level administrative division ( ~county) of New York City. Whether you are using Google or another geocoder, your geographic composition is: Locality (neighborhood): Chelsea, Manhattan County: New York City: New York State: New York Usual ...


This is a tough one. Flightradar is a commercial product designed to track aircraft data via ADS-B signals. There is another company on the market, FlightAware, which grants access to its real-time data via an API. Sadly, it's a commercial product, so if you have no budget, your best chance is to use an existing flight path database. You can download an ...


This problem is known as Too many markers. See this article: https://developers.google.com/maps/articles/toomanymarkers for possible solutions. They list a few.


Google maps is not a WMS service, and the terms of use of Google Maps itself prevent legal usage of it in a server side application, unless of course you have some sort of commercial contract with Google that entitles you to use their tiles outside of a browser.


I got the solution. If you want, just do the following... //Styles to switch off the roads var stylez = [{ "featureType" : "road", "stylers" : [{ "visibility" : "off" } ] } ]; //Satellite var ghyb = new OpenLayers.Layer.Google( "Google Hybrid", { ...


There's no reason the scale can't be lined up, latitude or not. If I take a screenshot of one map, I can use MS Paint to resize it until it's the same scale as a second map, therefore Google could do the same.


IMO the wms service used by OL cannot be changed in this detail. It will be more likely that you need to create your own basemap using TileMill or something else. But I am not an expert in OL / Gmaps


you have a couple of js bugs on your page... window.onload=function() { var formref=document.getElementById("switchform") indicateSelected(formref.choice) } there is no element with id = "switchform". try fixing that. and maybe try putting this: <script language="JavaScript"> $(document).ready(function() { $(".topnav").accordion({ ...


As @blah238 wrote, several ideas can be found from http://stackoverflow.com/questions/9644452/verify-if-a-point-is-land-or-water-in-google-maps If you trust on the map color then you could check if the place at each Lat/Long is painted with the sea color or something else. You can demonstrate this with gdallocationinfo and GDAL WMS driver. Read about these ...

Top 50 recent answers are included