【问题标题】:KML balloon stylingKML 气球造型
【发布时间】:2011-06-27 22:54:15
【问题描述】:

我阅读了几种方法来更改谷歌地图上气球中显示的内容。我正在从 KML 文件上传。我想摆脱气球底部的方向/搜索附近的链接。我尝试了以下 KML 的一些变体,但它似乎对气球没有影响。

 <Style id='removal'>
      <BalloonStyle>
           <text>$[description]></text>
      </BalloonStyle>
 </Style>
<Placemark>
    <name>elephant</name>
    <description>These are two elephants, one big and one small
            </description>  
            <styleUrl>#removal</styleUrl>   
    <Point>
        <coordinates>-121.985621 , 37.220577</coordinates>
    </Point>
   </Placemark>

【问题讨论】:

    标签: google-maps kml balloon


    【解决方案1】:

    看到这个问题的年龄,我认为这已经以某种方式解决了,但因为它仍然存在:我很确定如果您将 KML 直接上传到地图,则没有这样的选项,但如果您从像here 描述的那样使用 JavaScript 的您自己的页面,气球中不会有 Search Nearby 链接。

    【讨论】:

      猜你喜欢
      • 2013-02-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-06-30
      • 1970-01-01
      相关资源
      最近更新 更多