Display location Using Longitude/Latitude Coordinates - Google Maps

后端 未结 2 1244
北荒
北荒 2020-12-31 07:31

How can I input a set of coordinates and have Google maps show a location. This is all to be done through javascript (ie: no user interface)

Any help is appreciated<

2条回答
  •  温柔的废话
    2020-12-31 08:14

    You should be able to initialize the map with latitude/longitude as follows: https://developers.google.com/maps/documentation/javascript/tutorial#MapOptions

提交回复
热议问题