I have a database table with a listing of thousands of locations. I would like to create a custom map (accessible from the main Google Maps splash page by going to Menu->Your places->Maps. These are the same maps that you can create yourself at google.com/maps) using REST URLs to drop dots associated with my location addresses. The populated custom map will then be accessed through google.com/maps. I am not looking to embed Google Maps on a web page.
I've looked here, but I have not been able to find a set of REST URLs that I can use to do this. Most of the APIs provided by Google comes in the form of client-side JavaScript libraries.
Is there a way to create a custom map using exposed REST endpoints from Google?
The brief answer is no.
Maps Data API has not been available since 2011 (see Maps Data API deprecation announcement) and as for now there still is no way of doing it programmatically (see Allow programmatic access to MyMaps)
Related
My client has a map with a layer containing the locations of organizations associated with users registered to their site. Is it possible to use a REST API or similar to create these locations transparently, to relieve the client from having to add these locations manually?
I believe currently there is no any REST API for this.
The Place Add/Delete API was deprecated
https://maps-apis.googleblog.com/2017/06/announcing-deprecation-of-place-add.html
There is no any replacement for Place Add announced by Google.
I am working on a project where an user could draw on a google map a polyline, polygon, walking, driving an cycling route.
All of those tools are available in Google My Maps app (link)
Here is a picture:
On google Maps API documentation I found library called Drawing tools (link to sample), but this is not what I am looking for. You can add to parameter drawingModes polyline and polygon, but there is no options for drawing a route.
Another picture:
So my questions are:
Is there a code or library or anything for tools from Google My Maps app (if there is, it could save me a lot of time - I need exactly what there is) (yes/no) (if yes, where? Ignore other two questions)
If not, are tools from My Maps (at least polyline and polygon) builded from library Drawing tools? (yes/no)
If yes, how can I add functionality to add routes? (please provide a simple sample or hint how to add one of the routes driving/cycling/walking)
I will try to address your question
Google MyMaps and Google Maps JavaScript API are different products managed by different teams at Google. I'm not aware about any third party library or tool that allows to use MyMaps functionality via Google Maps JavaScript API.
MyMaps tools are not related to drawing library of Google Maps JavaScript API as I mentioned before.
I can see the following feature request in the public issue tracker regarding the ability to access Google MyMaps via Google Maps JavaScript API. However, it doesn't look like the API team has set a high priority on this task.
We have an application that detects nearby business of a particular genre. To test the app I want to add few fake business in the locality.
Does google provide any sandbox type of stuff for google maps?
Can i add places via Javascript test my app and then remove them?
What should be the best way ?
did you want to find business places with google maps javascript api without any databases in your backend script?
i think you must add places in your database and use it with google maps api to show/find places for your users.
I am trying to leverage Google Maps Engine as a data store for an iOS app that uses the Google Maps SDK. Has anyone ever done that before? I'm having trouble finding examples or reference material on the internet. I can get data layers to show up in a web page using HTML and JavaScript, and I can see data layers in the native Google Earth App, but I want to show this data in my own custom map app.
Here is a link to Google Maps Engine for reference: http://www.google.com/enterprise/mapsearth/products/mapsengine.html
I believe you will need to get in touch with Google to receive a Maps API. I don't think they just let anyone on the street have it.
http://support.google.com/enterprisehelp/bin/request.py?contact_type=maps_engine&hl=en
I've started developing a small app which main goal is to draw a map using Google Maps API (v3), and to show business in the area drawn (bars, restaurants and so on).
I found the Google Places API that was supposed to be released this month but it hasn't been. As far as I know the point of that API is to offer results from the Google's database of business, so later we could put those business in the map.
However now I've found this sample which is using the AJAX Search API and Local Search Control for Google Maps to do the same thing.
So the question is, what is the point of the new Google Places API?
Thank you in advance!
The Places API returns a list of locations near a specific lat/lng, while the Local Search API allows for an arbitrary search of Google's database of business listings and other POIs.