标签: javascript google-maps google-maps-api-3
我定义了标记位置(来自this示例),API返回地图w / out错误,但标记未显示。我很困惑,渴望得到一些指示。
http://maps.googleapis.com/maps/api/staticmap?center=-30.697423,150.564022&zoom=8&size=600x600&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6%257C-30.697423,150.564022&sensor=false
答案 0 :(得分:1)
您应该将%257C替换为|,这是一个正确的链接: http://maps.googleapis.com/maps/api/staticmap?center=-30.697423,150.564022&zoom=8&size=600x600&markers=icon:http%3A%2F%2Ftinyurl.com%2F2ftvtt6|-30.697423,150.564022&sensor=false
%257C
|