Generate a google map using latitude and longitude code script

前端 未结 2 1850
傲寒
傲寒 2021-01-06 14:26

I need to generate a google map with a marker.

I have the latitude and longitude code.

There\'s lots of scripts around but what is the quickest way to displa

2条回答
  •  孤独总比滥情好
    2021-01-06 14:41

    The code is adding some invisible content to the map div. To view it, we need to add CSS:

    #map { width: 500px; height: 400px; }
    

提交回复
热议问题