Placemark에 이름을 지정하기 위해 노력했지만 맵에서 Placemark 옆에 이름이 표시되지 않았습니다. Google지도의 왼쪽으로 이동하면 목록에있는 모든 장소 표시에 [no name]
이 표시됩니다. 그래서 이름을 없애는 방법이 있습니까 (아이콘에 이름을 지정하고 왼쪽에 폴더 표시).KML - 라벨에 이름 숨기기
내 KML 구조는 다음과 같습니다 : 당신은 내가 정말 옆에 위치 표시에 표시하지 않기 때문에 스타일 블록 후 이름이 비어있는 것을 볼 수 있습니다
<?xml version=\"1.0\" encoding=\"utf-8\" ?>
<kml xmlns=\"http://earth.google.com/kml/2.2\">
<Document>
<name>foo</name>
<Folder>
<name>bar</name>
<description>foo bar</description>
<Placemark>
<Style>
<LineStyle>
<color>ffff0000</color>
<width>2</width>
</LineStyle>
</Style>
<name></name>
<LineString>
<coordinates>{},{},{},{},{},{}</coordinates>
</LineString>
</Placemark>
<Placemark>
<Style>
<IconStyle>
<Icon><href>file://{11}arrow.png </href></Icon>
<heading>{4}</heading>
<color>{10}</color>
<scale>.6</scale>
</IconStyle>
</Style>
<name></name>
<scale>0</scale>
<color>{10}</color>
<description>{9}<br/><b>duration:</b> {8}<br/><b>time:</b> {7}<br/><b>CNR:</b> {5}<br/><b>BER:</b> {6}</description>
<Point><coordinates>{0},{1},{2}</coordinates></Point>
</Placemark>
<Placemark>
<Style>
<LineStyle>
<color>ffff0000</color>
<width>2</width>
</LineStyle>
</Style>
<name></name>
<LineString>
<coordinates>{},{},{},{},{},{}</coordinates>
</LineString>
</Placemark>
<Placemark>
<Style>
<IconStyle>
<Icon><href>file://{11}arrow.png </href></Icon>
<heading>{4}</heading>
<color>{10}</color>
<scale>.6</scale>
</IconStyle>
</Style>
<name></name>
<scale>0</scale>
<color>{10}</color>
<description>{9}<br/><b>duration:</b> {8}<br/><b>time:</b> {7}<br/><b>CNR:</b> {5}<br/><b>BER:</b> {6}</description>
<Point><coordinates>{0},{1},{2}</coordinates></Point>
</Placemark>
...repeat <Placemark><LineString></LineString></Placemark><Placemark></Placemark>...
</Folder></Document>
</kml>
. (빠른 참고 : 괄호 그래서 그냥 괄호를 무시 파일에 기록 파이썬 스크립트입니다.)
I합니다 (LineString
에 있지 "정상적인"위치 표시의 내부) <name</name>
내부에 뭔가를 넣을 경우 어떻게 할 위치 표시 옆에 표시하지 않습니까?
이미 시도했습니다. 불운. 나는 그것을 올바른 장소에 넣었는지 모르겠습니다. 방금''다음에 '