Google maps Google静态地图-使用自定义标记将一些点分组

Google maps Google静态地图-使用自定义标记将一些点分组,google-maps,google-maps-markers,Google Maps,Google Maps Markers,我用的是谷歌静态 我正在尝试显示两组(带有更多选项)地理点。 每个组都有不同的图标 此url仅显示中心图标,不显示其他图标 http://maps.googleapis.com/maps/api/staticmap ?center=31.909440199627042,35.00186054020873 &zoom=14 &size=1200x1200 &markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|31.90944019

我用的是谷歌静态

我正在尝试显示两组(带有更多选项)地理点。
每个组都有不同的图标

此url仅显示中心图标,不显示其他图标

http://maps.googleapis.com/maps/api/staticmap
?center=31.909440199627042,35.00186054020873
&zoom=14
&size=1200x1200
&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|31.909440199627042,35.00186054020873|31.909440199627042,35.00186054020873
&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|31.909440199627042,35.00186054020873|31.909440199627042,35.00186054020873&sensor=false

我做错了什么?

问题在于您的请求:

http://maps.googleapis.com/maps/api/staticmap
?center=31.909440199627042,35.00186054020873
&zoom=14
&size=1200x1200
&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|31.909440199627042,35.00186054020873|31.909440199627042,35.00186054020873
&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|31.909440199627042,35.00186054020873|31.909440199627042,35.00186054020873&sensor=false
第一:为什么有2个
标记
字段

然后:您的标记位于完全相同的位置。。。所以你只看到一个针

如果我尝试以下操作(删除第2个标记并更改值),我会看到2个管脚:

http://maps.googleapis.com/maps/api/staticmap
?center=31.909440199627042,35.00186054020873
&zoom=14
&size=1200x1200
&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|31.909440199627042,35.00186054020873|31.909440199627042,35.0000
&sensor=false

我知道,多亏了你的回答,我才发现了真正的问题。