javascriptgoogle-mapsgoogle-maps-static-api

Google Maps Static Map using place_id as a parameter


Does anybody know how to use a place_id as a marker location on Static Maps?

In the docs https://developers.google.com/maps/documentation/maps-static/dev-guide#MarkerLocations it does not indicate whether a place_id can be used, but it seems unusual that this would be missing... Google use place_id in most of the other Maps requests.

Thank you


Solution

  • Currently place ID is not supported as location in Static Maps API. There is a feature request in Google issue tracker that you can see at

    https://issuetracker.google.com/issues/71012469

    Feel free to star this feature request to add your vote and subscribe to notifications. Hopefully Google will implement it in the future.