Load an XML file into a virtual tour using Javascript
$30-250 USD
货到付款
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>
项目ID: #5393678
关于项目
授予:
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 更多
有8名威客正在参与此工作的竞标,均价$176/小时
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 更多
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
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