Load an XML file into a virtual tour using Javascript

已完成 已发布的 Feb 4, 2014 货到付款
已完成 货到付款

I have a KRPano virtual tour with a mapping functionality. Right now we have a script that allows us to manually input lat/long points so those locations show on the map. See example here (click the globe on the bottom): [login to view URL]

I need to update the script to pull this data from an external XML file so I don't need to manually enter it. Here is the script we are currently using:

<action name="skin_addmapspots">

for(set(i,0), i LT [login to view URL], inc(i),

if(scene[get(i)].lat,

txtadd(spotname, 'spot', get(i));

txtadd(spotevent, 'activatespot(',get(spotname),'); loadscene(', get(scene[get(i)].name), ',null,MERGE,BLEND(1)); skin_updatescroll(); delayedcall(0.5,skin_showmap(false));');

copy(scene[get(i)].mapspotname, spotname);

addspot(get(spotname), get(scene[get(i)].lat), get(scene[get(i)].lng), get(scene[get(i)].heading), false, get(spotevent));

);

);

addspot('sonoraSpot', '29.71930', '-95.785', 'The Sonora', false, get(spotevent), js(mappoint_hover()));

addspot('sedonaSpot', '29.71825', '-95.785', 'The Sonora', false, get(spotevent));

addspot('sedonaSpot2', '29.71903', '-95.7828', 'The Sonora', false, get(spotevent));

activatespot(spot0);

zoomToSpotsExtent();

</action>

JavaScript MySQL XML

项目ID: #5393678

关于项目

8个方案 远程项目 活跃的Feb 7, 2014

授予:

KhcTechnologies

We choose a job that we love, so we will never have to work . we always do what we love…Placing the bid on a job like this means doing [login to view URL] love what we [login to view URL] in the communication , Looking forward to hear fro 更多

$72 USD 在3天内
(13条评论)
3.3

有8名威客正在参与此工作的竞标,均价$176/小时

toinnisfree

I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactor 更多

$200 USD 在3天内
(473条评论)
7.8
mituld

Hi I work towards providing reliable, relevant and robust IT solutions at most competitive prices to my customers. I ensure 100% customer satisfaction so lets start thanks

$195 USD 在5天内
(246条评论)
7.5
morff

I have read your project description, and tried to check your website, however it doesn't seem to be working, however basically i understand what you want, and i would like to offer you my services. I have excellent kn 更多

$150 USD 在3天内
(140条评论)
6.8
mentor11

I have 7 plus year experience in php(ERP Solutions, webportals, Facebook application, facebook fanpages, Twitter, Mysapce, CMS(drupal, joomla and wordpress),using the world leading technologies PHP, MySQL, JavaScript, 更多

$154 USD 在4天内
(54条评论)
6.4
Magjoom

I am confident to help, where do i get the XML feed. Let me know so i dont commit anywhere else and we start MagJoom

$277 USD 在3天内
(12条评论)
5.6
deepakgoyal92

A proposal has not yet been provided

$206 USD 在3天内
(28条评论)
5.0
frlthushan

A proposal has not yet been provided

$155 USD 在3天内
(3条评论)
1.3