Get Near by places data with longitude lattitude using google map api 3 without loading the map -


I want to use Google Map API and want to get around location statistics by specifying latitude latitude.

My question is that ...

Is Google Map possible for places near data?

I have checked "Auto-complete predictions from the full service", but its return is not latitude-latitude related information.

You can create a map div and hide that div in your application. In the background, you can call Google Maps and get close to places and do whatever you want.

  & lt; Div class = "row" id = "map-canvas" width = "100%" height = "400" style = "display: none;" & gt; & Lt; / Div & gt; Var map = new google.maps.Map (document.getElementById ('map-canvas'), map options); Map.places.search (Search, Work (Results, Status) {If (Status == google.maps.places.PlacesServiceStatus.OK) {for (var i = 0; i & lt; results.length; i ++) {Console logs (Results [i]);}} and {Alerts ('Unable to get data from Google Maps));}});  

Adjust the functionality according to your requirement. To run this application, you may need to make a few changes to see the Google Maps Location Search API to understand the batter.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -