Put pin on Google Map

匿名 (未验证) 提交于 2019-12-03 02:30:02

问题:

I need to redirect user to Google Maps page and put some pin on defined location. The problem is that you could easily center map on some point with simple request:

http://maps.google.com/maps?hl=en&ll=49.901711,32.508545&spn=5.959342,16.907959&z=7

But how to set a pin with such request ?

回答1:

You can do this with My Maps.

  1. Create or open a map.
  2. Click Edit to enter editing mode.
  3. Click the blue marker. Your cursor changes into a placemark icon with an "X" crosshairs. The crosshairs indicate where the placemark will fall.
  4. Move the cursor to the appropriate location. If you want to dismiss this placemark, press the Escape key.
  5. Click your mouse button to place your placemark. It should bounce into place.
  6. Add a title and description.
  7. You can also change the icon for your placemark by clicking the icon in the top right corner of the info window. You can also add your own icon.
  8. Click OK to save your placemark.

http://maps.google.com/support/bin/static.py?page=guide.cs&guide=21670&topic=21676&answer=144363#placemark



文章来源: Put pin on Google Map
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!