2011-12-11 49 views
0

我有以下的谷歌地圖位於:KML谷歌地圖 - 只有一個地標展示,而不是多個

http://www.ticketrich.com/uk-days-out-guide/

我使用的使用簡碼一個WP插件啓動與 [圖KML地圖= HTTP://www.ticketrich.com/map5.kml]

這是KML文件中的內容:

<?xml version="1.0" encoding="UTF-8"?> 
<kml xmlns="http://www.google.com/earth/kml/2"> 
<Document> 
<Folder> 
<name>Folder.kml</name> 
<open>1</open> 
<description> 
A folder is a container that can hold multiple other objects 
</description> 

<Placemark> 
<name>Alton Towers</name> 
<description>Alton Towers Information</description> 
<Point> 
    <coordinates>-1.891,52.9898,0</coordinates> 
</Point> 
</Placemark> 
<Placemark> 
<name>Chessington World of Adventures</name> 
<description>Chessington World of Adventures Information</description> 
<Point> 
    <coordinates>-0.31539,51.35013</coordinates> 
</Point> 
</Placemark> 
<Placemark> 
<name>Banqueting House</name> 
<description>Banqueting House</description> 
<Point> 
    <coordinates>-1.0968,53.8937</coordinates> 
</Point> 
</Placemark> 
</Folder> 
</Document> 
</kml> 

Ť他的問題是它只顯示其中一個地標。無論我嘗試過什麼,我都無法讓他們工作。任何人都可以看到問題是什麼?

回答

1

我在地圖上看到一堆地標http://www.ticketrich.com/uk-days-out-guide/,雖然它似乎在使用與您提到的KML不同的KML。

至於http://www.ticketrich.com/map5.kml(它現在與您的問題中發佈的代碼相同),使用Google地圖查看時似乎沒什麼問題:http://maps.google.com?q=http://www.ticketrich.com/map5.kml因此我認爲它也適用於您的WordPress網站。如果它仍然無效,你能創建一個鏈接到這個kml的頁面,這樣我們可以看看嗎?