从google地图嵌入代码中删除信息/地址气泡

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了从google地图嵌入代码中删除信息/地址气泡相关的知识,希望对你有一定的参考价值。

Remove the info / address pop up on a google map embed code.

Until last month: the iwloc parameter was responsible to GET the
window opened or not the following way:
It the parameter was missing by deafult the infow window was NOT
opened.
And vice versa: to get it opened the parameter should there OR while
the gotten code wouldn't be contain the iwloc ONE was forced to ADD
it manually!

I did not notice WHEN they changed this!!!
However NOW it seems to be reverse:
In your case (in your provided embedding code [maybe created using my
previous hints in this thread]) the iwloc parameter WAS NOT THEREIN.
I confirm: NOW this means obviously the info window will OPENED by
DEFAULT.

To get the embedding code for an iframe with an UN-opened Placemark
it's again necessary to ADD an OTHER value for the IWLOC paramter:
iwloc=near DOES the trick NOW!
  1. So add it to your code and here it is:
  2.  
  3. <iframe width="425" height="350" frameborder="0" scrolling="no"
  4. marginheight="0" marginwidth="0" src="http://maps.google.de/maps?
  5. f=q&amp;hl=de&amp;geocode=&amp;q=Von-Tambach-Stra%C3%9Fe+3,+49584+F
  6. %C3%BCrstenau&amp;sll=51.151786,10.415039&amp;sspn=11.943601,39.550781&amp;ie=UTF8&amp;g=Von-
  7. Tambach-Stra%C3%9Fe+3,+49584+F
  8. %C3%BCrstenau&amp;s=AARTsJrLqHJOkxky0QPTRodSEEVRqhTiVw&amp;ll=52.519146,7.668285&amp;spn=0.01828,0.036478
  9. &amp;iwloc=near&amp;z=14&amp;output=embed"></iframe><br><small><a
  10. href="http://maps.google.de/maps?f=q&hl=de&geocode=&q=Von-
  11. Tambach-Stra%C3%9Fe+3,+49584+F
  12. %C3%BCrstenau&amp;sll=51.151786,10.415039&amp;sspn=11.943601,39.550781&amp;ie=UTF8&amp;g=Von-
  13. Tambach-Stra%C3%9Fe+3,+49584+F
  14. %C3%BCrstenau&amp;ll=52.519146,7.668285&amp;spn=0.01828,0.036478&amp;z=14&amp;source=embed"
  15. style="color:#0000FF;text-align:left">Größere Kartenansicht</a></
  16. small>
  17.  
  18. And here is a website of my goolepages with this iframe:
  19. http://geissler.hoenow.googlepages.com/embeddedmap3
  20.  
  21. Please NOTE:
  22.  
  23. I added the iwloc parameter in the embedding code of my googlepage
  24. website only in that first part for the iframe of the SMALL map.
  25. This is intended in order to show you:
  26. if you click the link below the map "Größere Kartenansicht"
  27. (BTW: I created the embedded map from my German GoogleMaps)
  28. You will get the LARGE map with the OPENED infow window - just to
  29. clarify & demonstrate the matter.

以上是关于从google地图嵌入代码中删除信息/地址气泡的主要内容,如果未能解决你的问题,请参考以下文章

如何从 Wordpress 中的 Google Maps ACF 字段中删除纬度和经度?

高德地图显示的地图上很多团购信息一个气泡一个气泡的,能不能去掉?

如何从新的谷歌地图嵌入中删除框?

arcgis api for js入门开发系列二十一气泡窗口信息动态配置模板

2016-6-7地图和视频

html 从滚动中禁用嵌入式Google地图