Embed Google Map into HTML page based on GPS coordinates

后端 未结 3 1492
傲寒
傲寒 2021-01-30 11:45

I have a PHP photo gallery that reads the GPS coordinates from images. I\'d like to modify it to use the coordinates and include a google map on the photo page. Is there a sim

3条回答
  •  一个人的身影
    2021-01-30 12:13

    use static google map you have to supply just some other addition info

    http://maps.google.com/maps/api/staticmap?center=51.477222,0&zoom=14&size=400x400&sensor=false

    it only show an image of the map

    here is a link to the API

    https://developers.google.com/maps/documentation/maps-static/intro

    there is a lot of other options if needed

提交回复
热议问题