I want to add Google places to the Mapbox map on my site. I don't pre-fetch, fetch or store them in any database. Is it possible to use the API to post the places on my custom map or am I violating Google Maps terms of use?
This would break the Google Places Terms of Service
If your application displays Places API data on a map, that map must be provided by Google.
You might want to use the Foursquare API instead.
Related
I understood that, in order to visualize an attraction or a commercial venue in Google Maps you use Maps JavaScript API. However this would be for maps that would be displayed on websites or mobile devices only?
How would it be possible to map and localize a feature in Google Maps, as these are accessed from Google website? I mean, is it possible to map and visualize something that would be accessible and visible to anyone opening Google Maps? A special request should be made to Google?
Thanks a lot
Objective
Client wants a map on the search results page that shows a Google Map with all business listings, matching the users search parameters, that are near that user.
Background
I have a client who is building a business directory website.
This client is currently using a WordPress plugin called GeoDirectory and would like to have a map on the search results page that shows a Google Map with all business listings, matching the users search parameters, that are near that user.
These would not be the businesses on the website they would be the businesses that you would get if you did a search on Google say "restaurants near me" and it would show those businesses.
The client wants it to look exactly like the google map that results from that search so it would take the query created by the GeoDirectory plugin and show a list of businesses from the clients site that match a specific category and also a google map of other businesses in the area that are listed on Google.
Question
Is this possible?
I don't really have a link to show an example but if you type in "restaurants near me" in the google search bar and click on the map that pops up in the search results you will see what I mean.
Is it possible?
I don't know WordPress, but coming from a Google Maps background, I can definitely tell you that yes, it is possible.
What can I use?
Depending where you make your request from, you can either use the Places API Web Service (server side) or the JavaScript API with the Places Library (for client side).
For more information about the Places API and related products you can visit https://developers.google.com/places/documentation/
How can the Places API help me?
The Places API Web Service and its library for the JavaScript API have a functionality that you can use called PlacesSearch, which is exactly what you need.
Examples and Docs
To use this functionality, lets say, using the Web API, you need to make a GET request like the following:
https://maps.googleapis.com/maps/api/place/nearbysearch/output?parameters
Using the JavaScript API, you would send a request like this:
https://developers.google.com/maps/documentation/javascript/places#place_search_requests
With this information, you can include a map, and quickly get the information you need by having the user type in a text box.
The example below demonstrates how this concept works
https://developers.google.com/maps/documentation/javascript/examples/place-search
I am building a web-page using Google maps js api. I need the map type which shows all 3D buildings view provided by Google earth, just like the Google's map application where you can see all 3D buildings in the earth view.
I don't want to use the Google earth API because it's deprecated.
Any way to achieve that?
Google seems to be silent about 3D features in Javascript API. Closest I can get to this are Styled Maps but nowhere does it specifically indicate 3D. Only Android implementations are available as of now.
At this moment, the javascript API generates 3d buildings in map-view, with no option to turn this off.
The google maps website shows 2d buildings, which includes housenumbers. This information seems more accurate than the 3d-buildings map-view. But the options to toggle between various map layers is a long standing omission in the javascript API.
Is there any way to capture the image from a complicated Google Maps with some customize overlays like heat gradient. See figures:
Google static map API can only generate static maps(images) with simple polylines or markers, in my situation this is apparently not enough, I want user to capture this kind of images and share it in there twitter fb of g+
see Google Maps image?, it is a similar question. But not so useful in my situation
It's not allowed. See here:
https://developers.google.com/maps/faq#tos_screenshots
Use of Google Maps imagery in printed materials and offline media is
subject to the Permission Guidelines published at:
http://www.google.com/permissions/geoguidelines.html
you can request permission, but I don't think it's easy to obtain, unless you are a paying business customer.
Are all places delivered by the Google Places API displayed on the Google Maps MapTypeId.ROADMAP by default? That is, I do not need to query the places API and display them on the Google Maps MapTypeId.ROADMAP because by default they already show us a labels?
Nope. The ROADMAP type show many prominent places on the map to help provide context, but they are by no means the entire listing of places that might be found via the Places API for a location.