0

次の問題について、アドバイスをいただけないでしょうか、それとも正しい方向に向けていただけないでしょうか。

KMLファイルには、オレンジ色であることがスタイリングで示されている目印があります。ただし、マップ上では緑として表示されます。

ここに画像の説明を入力してください

ナビゲーションバーでわかるように、オレンジ色です。

ここに画像の説明を入力してください

これが発生する原因は何ですか?

これが地図の写真です:

ここに画像の説明を入力してください

地図上の目印の色がナビゲーションバーと異なるのはなぜですか?一部の目印は機能しますが(地図とナビゲーションでは同じ色です)、機能しないものもあります。私は何が間違っているのですか?

これが私のKMLヘッダーです。

<?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>
4

1 に答える 1

2

2つのマーカーが直接重なり合っています。影が暗いか、KMLファイルを見ればわかります。

于 2012-08-28T16:56:16.350 に答える