2013-07-07 5 views
1

이전에 파일을 호스트 kml에 저장하려고했습니다. 제 질문은 여기 Not showing the path in KML입니다. 이제 Google의 권장 사항에 따라 kmz 파일을 새로 만들었습니다. 여기에 파일 : http://tourist-sweden.se/transport/map/sthlm/t-11-1.kmz. Calling map : http://tourist-sweden.se/transport/map/sthlm/t-11-bana.html 이제지도는 경로 만 표시하고 아이콘은 표시하지 않습니다. 내지도에서 또 무슨 실수 야? kml에 강력하고 간단한 대안이 있습니까?KMZ에서 내 아이콘을 표시하지 않습니다.

+0

어떻게 그 KMZ 파일을 작성 했습니까? Google 어스에서 작동하지 않는 것 같습니다. – geocodezip

답변

1

귀하의 KMZ 파일이 올바르지 않습니다. 당신이 t-11 디렉토리를 압축하면 작동 :

그것은 현재 다음과 같습니다 : 그것은 다음과 같습니다, 그래서 당신은 t-11 디렉토리를 작성하는 경우

[[email protected] kmz]$ unzip -l t-11-1.kmz 
Archive: t-11-1.kmz 
    Length  Date Time Name 
-------- ---- ---- ---- 
     0 07-07-13 12:06 t-11/ 
    3655 07-07-13 12:43 t-11/t-11-bana.kml 
     0 07-07-13 12:08 t-11/files/ 
    1039 07-04-13 21:21 t-11/files/subway-blue.png 

, 그것은 작동합니다

[[email protected] t-11]$ unzip -l t-11-1a.kmz 
Archive: t-11-1a.kmz 
    Length  Date Time Name 
-------- ---- ---- ---- 
     0 07-07-13 12:08 files/ 
    3655 07-07-13 12:43 t-11-bana.kml 
    1039 07-04-13 21:21 files/subway-blue.png 

http://www.geocodezip.com/v3_GoogleEx_layer-kml_linktoB.html?filename=http://www.geocodezip.com/geoxml3_test/kmz/t-11-1a.kmz

+0

내 KMZ 파일 링크 [link] (http://tourist-sweden.se/transport/map/sthlm/t-11-bana.html). 나에게 나의 실수와 그 실수를 보여줘주십시오. 죄송하지만 KML은 XML 경험이 뛰어 났지만 KML은 상당히 어려웠습니다. – nikant25

+1

KML은 XML입니다. KMZ는 압축 된 KML입니다. [documentation] (https://developers.google.com/kml/documentation/kmzarchives)를 참조하십시오. (내 대답은 문제에 대해 설명합니다. 질문이 있으시면 좀 더 구체적으로 기재하십시오) – geocodezip

관련 문제