How to retrieve My Places maps data from Google Maps? - google-maps

Is it still possible using JavaScript to get My Places data out of Maps? With the move to Fusion Tables and deprecation of the Maps Data API, I can't seem to find information on how to get this data...if it's even available in FT.

The Maps Data API was the only programmatic endpoint to accessing this dataset. However you can still export the data by selecting a map, and then clicking the KML link.
A variety of tools are available for visualizing, importing, and converting KML data in case you want to import it elsewhere.

Related

Getting pins from a saved Google Map into v3 API

I have a saved google map in 'My Places', with over 100+ pins added for locations around the UK. Is there any way I can avoid having to use the embed feature to display this map on a webpage, sort of calling the saved map by ID via the google API?
Essentially what I want to do is get access to google's new visual refresh and be able to control the settings of the map more with API.
The map link is this: https://maps.google.co.uk/maps/ms?msid=207590858966548688521.0004aa52150024d3431b2&msa=0
Can we parse anything here...?
You can overlay the KML output by MyMaps using a KmlLayer in the Google Maps API also:
your MyMaps data displayed on an API based map
Updates in MyMaps will (eventually) be reflected on the map.
Using https://mapsengine.google.com I was able to import the maps data and utilise the pins that way. Not ideal, but still some better functionality.

Google Maps Engine - Importing Google Maps "My Maps" Data

I have a number of maps in the original Google Maps "My Maps" which I have been maintaining for some time now. I noticed that Google now has Google Maps Engine which appears to be a bit more powerful and would allow me to combine all my maps into a single map with multiple layers.
However, I would rather not remake all of my maps in this new system. I attempted to export/import the data from My Maps to the Engine using KML, but Engine will not accept KML for import. Likewise, My Maps does not appear to export to CSV or XLSX, the formats which Engine will accept.
Is there some method to export maps from "My Maps" and import them into Engine?
Actually it seems like the google maps engine does indeed give you option of importing the maps you saved in your 'My Maps' as layers on to your map. Have a look at the screencap below:
It has the option of uploading your csv or xlsx files, but there's also the option right under to add the maps you saved in "My Maps". I assume you'll need to be logged into your Google account with the saved maps to access this though.

Google map search using KML

i am using google map kml field (direct iframe code from gmap)
for showing different locations/shops on map:
Google map #my site,
i need to add a search box from where user can search nearest shops to his/her location...
can any body help me in this out..
It is my understanding that the API does not provide support for searching your provided KML:
google maps API geocode finds nearby KML
Google provides a service called placesService ( https://developers.google.com/maps/documentation/javascript/places ) which lets you make requests to their database of content and return results in the form of KML near a location within some bounded area - but to my knowledge you cannot specify the source to search. (You could try testing the placesService, with a KML layer set on your map and see if it includes your data).
Assuming you are generating your KML from a database, can you could regenerate it appropriately filtered or styled based on the user's search terms. This seems the most likely solution without additional details.
I have done google map search with python. But this one searches hospitals
You need to get google place api and place in code and reconfigure for search,
it will print out name, location address, and website
https://github.com/rockcastle/GoogleMap-Scrapping

Is there an API to add markers to user created public/unlisted maps in Google Maps?

I created a map with a few markers and saved it at http://maps.google.com/.
Is there a way to edit the map with an API, like inserting and deleting markers from it?
Or, is there a way to add markers to the default preview at http://maps.google.com/ without saving it? (Possibly through adding parameters to the URL).
The problem raises due to contract between Google Maps and Israel's map provider, which doesn't allow Google to show Israel's streets through an API, and only through the interactive map at http://maps.google.com/.
Thanks ahead!
if you are using Google Maps API, you can save markers in an database, so, you can inser, delete, update markers. When you load you web app where you are using the API you have to create an XML file with coordenates and info, then use a javascript to read XML file

Google Maps Data API vs Google Maps API

What is the difference between Google Maps Data API and Google Maps API?
I noticed the former is deprecated but it is not replaced by the latter. It seems to me these two APIs are meant to do separate things, but it's not clear what that is.
I want to create a private clone of the public Google Maps and add custom annotations to search results.
Google Maps Data API was deprecated in favour of Google Fusion Tables, and provides a means whereby you can store data in spreadsheet-like tables and do a lot of clever stuff such as geocode addresses, and export as kml, query the data etc.
So, Google Fusion Tables provides storage for your data.
Google Maps API provides you with online mapping tools which can be used to display or capture information - which you could then go on and store in Fusion Tables.