Xml placemark在地图上是绿色的,但在导航栏上是橙色的
我想知道您是否可以就以下问题向我提供建议或为我指出正确的方向 在KML文件中,我有一个placemark,其样式告诉它是橙色的;但是,它在地图上显示为绿色: 正如您在导航栏中看到的,它是橙色的: 是什么导致了这种情况 这是一张地图的图片: 为什么地图上的地标与导航栏上的颜色不同?请注意,有些地标有效(它们在地图和导航栏上的颜色相同),而有些则无效我做错了什么? 这是我的KML标题:Xml placemark在地图上是绿色的,但在导航栏上是橙色的,xml,google-maps,maps,kml,Xml,Google Maps,Maps,Kml,我想知道您是否可以就以下问题向我提供建议或为我指出正确的方向 在KML文件中,我有一个placemark,其样式告诉它是橙色的;但是,它在地图上显示为绿色: 正如您在导航栏中看到的,它是橙色的: 是什么导致了这种情况 这是一张地图的图片: 为什么地图上的地标与导航栏上的颜色不同?请注意,有些地标有效(它们在地图和导航栏上的颜色相同),而有些则无效我做错了什么? 这是我的KML标题: <?xml version="1.0" encoding="UTF-8"?><kml xm
<?xml version="1.0" encoding="UTF-8"?><kml xmlns="http://www.opengis.net/kml/2.2"><Document>
<name></name>
<description></description>
<Style id="MentalHealthFacilitiesClinic">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/orange_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
<Style id="MentalHealthFacilitiesHospital">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/orange_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
<Style id="MentalHealthFacilitiesLTC">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/orange_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
<Style id="MLCustomer">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/green_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
<Style id="PastMLCustomer">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/yellow_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
<Style id="SuboxoneTreatment">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/blue_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
<Style id="SuboxonePrescribers">
<IconStyle>
<scale>1</scale>
<Icon>
<href>http://static.batchgeo.com/images/icons/paleblue_shadow_Marker.png</href>
</Icon>
<hotSpot x=".3" y=".8" xunits="fraction" yunits="fraction" />
</IconStyle>
<LabelStyle>
<scale>0</scale>
</LabelStyle>
<BalloonStyle>
<text><![CDATA[ <b>$[name]</b><br />$[address]<br />$[description]]]></text>
</BalloonStyle>
</Style>
1.
http://static.batchgeo.com/images/icons/orange_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
1.
http://static.batchgeo.com/images/icons/orange_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
1.
http://static.batchgeo.com/images/icons/orange_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
1.
http://static.batchgeo.com/images/icons/green_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
1.
http://static.batchgeo.com/images/icons/yellow_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
1.
http://static.batchgeo.com/images/icons/blue_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
1.
http://static.batchgeo.com/images/icons/paleblue_shadow_Marker.png
0
$[名称]
$[地址]
$[说明]]>
您有两个直接位于彼此上方的标记。您可以通过阴影变暗的方式或通过查看KML文件来判断。您确定没有两个标记相互重叠吗?您没有提供完整的KML文件或链接。是的,我非常确定。我一路放大到它,只看到一个,如果它们直接在一起,唯一真实的方法就是看KML文件或阴影变暗。@geocodezip你肯定知道你的东西!阴影确实变暗了,请稍等,我去看看我的坐标是否与他相同map@geocodezip你完全正确!非常感谢!因为你在最初的帖子中没有包含足够的信息来真实地讲述。除非你在此时编辑帖子,否则无法更改反对票。你会知道为什么在我的ipad上,如果我按地图上的任何地方,它会添加一个位置标记吗?你知道我怎么用kml禁用它吗?我没有iPad。但这与KML没有任何关系(至少不应该如此),显示KML的是应用程序。再次感谢。这是有道理的。你能给我指一下样式标签上的正确方向吗。我希望谷歌地图kml中的气球更别致,你能给我举个例子吗?