Google Maps API (static) - custom marker not showing up

前端 未结 3 1789
伪装坚强ぢ
伪装坚强ぢ 2021-01-02 01:18

URL:
http://maps.google.com/maps/api/staticmap?center=40.714728,-73.998672&markers=icon:http://tinyurl.com/2ftvtt6&zoom=12&size=400x400&sensor=false

3条回答
  •  一向
    一向 (楼主)
    2021-01-02 02:00

    I had some problems with the markers, too.

    Maybe these hints help other guys

    • Marker should be max 64x64 pixels in size
    • long marker filenames can cause issues
    • always define a marker location - see accepted answer

提交回复
热议问题