English 中文(简体)
页: 1
原标题:URL for multiple markers in Google Maps

desktop 我有一些全球定位系统坐标,我想在地图上显示。 我的计划是用坐标构筑一部URL,让一个网络浏览器和谷歌地图或类似的服务能够重提。

在阅读了一些明显相反的文件之后

mapki.com slash wiki slash Google_Map_Parameters

我可以把它当作一个单一点来做,但是,多点多点的“URL syntax”是什么?

我迄今最响亮的枪声是建设这样一个大体:

但这只能显示“我的第二点”。 某些地方是否对yn子做了更好的描述?


把q = 替换为标记器=不可行,下文中的“统计图”建议只抱怨过一个不正确的APIC钥匙。

问题回答

a) 聚氯乙烯

http://maps.google.com/maps/api/staticmap?center=Brooklyn+Bridge,New+York,NY&zoom=14&size=512x512&maptype=roadmap
&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318
&markers=color:red|label:C|40.718217,-73.998284&sensor=false&key=MAPS_API_KEY

详细版本:

http://maps.google.com/maps/api/staticmap?
center=Brooklyn+Bridge,New+York,NY
&zoom=14
&size=512x512
&maptype=roadmap
&markers=color:blue|label:S|40.702147,-74.015794
&markers=color:green|label:G|40.711614,-74.012318
&markers=color:red|label:C|40.718217,-73.998284
&sensor=false
&key=MAPS_API_KEY

i 无法确定这一辛迪加是否也符合标准地图

http://staticmapmaker.com/“rel=“noreferer”http://staticmapmaker.com/ - 建立静态地图库的甚冰网工具。

List of currently supported map services: - Google - Bing - Yandex - HERE - Mapbox - MapQuest - CartoDB

p.s. 我知道这是一个老问题,但很多人对此仍然gle。

地图上的浏览参数只见诸位。

正如德布尔所说,你可以使用谷歌统计地图。

或者,如果你需要动态地图,你就可以写出自己的公共网页,使用谷歌地图预报,并接受很长的参数清单。 使用你自己的网页,其方式与你打算使用地图.google.com的网页完全相同,但你必须设计你想要的参数。

也许,如,即

若干参数(例如标记和路径参数)涉及多个地点。 在这些情况下,这些地点由管道分离。

https://maps.googleapis.com/maps/api/staticmap?center=boca+raton,+fl+|+deerfied,+FL&zoom=12&scale=false&size=600x300&maptype=roadmap&sensor=false&key=API_KEY&format=png&visual_refresh=true&markers=size:mid%7Ccolor:red%7Cboca+raton,+fl+|+deerfied,+FL" alt="Google Map of boca raton, fl | deerfied, FL




相关问题
How to decide the current point reach on google map?

How to decide the current point reach on google map? I have a list of points (pickup points) of a route that I want to show in my google map with polyline. Now i have to get the current location of ...

Topographical or relief data in Map APIs

I was wondering if anyone knew of any map APIs that offer topographical or relief data? I ve had a quick look at Google and Bing APIs, but could find nothing there. Google allow you to view a map as ...

Using maps on Windows Mobile

I m experimenting with maps on different mobile platforms. Getting Google Maps to work on Android was easy, following this tutorial. Getting the same to work on Windows Mobile is a different matter. ...

Adding a custom icon to a google map

I need a hand adding a custom icon to some Google Maps javascript. Code below for your reference: function populateMap() { var map = new GMap2(document.getElementById("map")); map.setCenter(new ...

RSS to KML Overlay

I m want to display my blog as a Google Map overlay (each post contains geotags). How can I dynamically create a KML overlay from an RSS? Or better, how can I create a loop (PHP) that would display ...

开放街道地图管理员

我需要开放Street的标记管理员。 地图,如山角地图。

热门标签