Google Maps API: Finding and group closest points to a given point - google-maps

How to find and group closest points to a given point using Google Maps API v3?
Sultan

See a plugin called marker manager.If you want to go custom see this question for heads up

Related

Get coordinates from google maps link

I have a share google maps link like this: https://maps.app.goo.gl/rFtzbfFRr1aKTFJN6
Can I extract latitude a longitude coordinates from that, in console?
Thanks
Yes it is possible, the process you are talking about is referred to as reverse geocoding.
This is possible using google API and you should be able to find everything you need to do this in there documentation.
https://developers.google.com/maps/documentation/geocoding/intro?hl=de#ReverseGeocoding

Google Autocomplete Polygon as GeoJson

I'm trying to find in the Google Maps documentation a way to search for a place and get it's GeoJson polygon but I got no luck finding something like that.
My goal is to create a search bar to search places and then send the geojson polygon to our back-end. I don't want to draw it on a map or anything front-related.
Nominatim is doing exactly what I want but Nominatim policy is very restricted so before I go for an alternative, I wanted to check if Google Maps could provide the same (especially since searching for a country on Google Maps retrieve the polygon and draw it on the map).
Thanks for your help !
Unfortunately Google Maps APIs don't expose any polygons data of geographic features. You can see very old feature request in the Google issue tracker to add this functionality, however it looks like Google didn't set high priority on this task:
https://issuetracker.google.com/issues/35816953
Feel free to star the public feature request to express your interest and subscribe to further updates from Google.
You should get polygons from other sources.

Query on Google Maps API

I am new to Google maps API. Lets take two locations A and B on the map. I know that maps API would provide me the routes between the two points. (if available). Lets take another location C. I like to know if its possible to find out the nearest location D (to C), which lies in between A and B. With the maps API, would it be possible to find the above information?
It is certainly possible. What you describe is anlogous to the "drag to modify route" functionality of maps.google.com The mouse would be your "C" and the draggable marker that appears on the route would be your "D".
Working demo here:
http://www.marsrutai.info/directions.htm

Find neighbors delimitations with google maps or google api

I need to find points that define delimitations of neighbors from Chicago.
My question is: How can I find a list with latitudes/longitudes of all the points that delimit neighbors. For example:
Gold Coast from Chicago is a polygon with 6 points as seen on google map: http://maps.google.com/maps/ms?ie=UTF8&t=m&vpsrc=6&source=embed&oe=UTF8&msa=0&msid=206241844247425110008.0004b43f0262868b8037f
What is the best way to extract this points so I can draw poly-lines over google map with google API for specific neighbors?
Edited:
So with addresses, which you already have, you can create a Maps API site:
http://code.google.com/apis/maps/
and use the Geocoding API to get the latitude and longitude of each of the addresses.
Added: Seems based on your comment that you're looking for neighborhood boundary data. Google Maps doesn't provide that data. There are different venders that do, one I have heard of is the Zillow Neighborhood API. I have never used it so I don't know much about it.

Is it possible to change a route given by Google Maps

I'm writing a Google Maps mashup. I ask google the path from one location to another location. Google Maps gives me a Map with the route. I would like to take this route somehow and modify it (adding or removing points) before displaying it in the map. Is it possible? How would you do that?
Many thanks!
According to the Google Maps API Reference, there is a loadFromWaypoints function which will take waypoints in an Array and use them to calculate directions.
Edit: +1 for Cannonade. What he said.