Hi!
I want to represent you automap XML plugin.
Made for easy creating map for virtual tours.
DEMO
just add this code and map wil apear automaticaly:
Code
<include url="%CURRENTXML%/automap/automap.xml" />
<map name="map1"
map="%CURRENTXML%/map_images/map.jpg"
mask="%CURRENTXML%/map_images/mapmask.png"
radar_alpha="0.5"
onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);"
>
<viewpoint name="p1" scene="liv" x="182" y="75" heading="-10" scale="1"
mask="%CURRENTXML%/map_images/maskliv.png"
onclick="gotoscene(liv);" onhover="showtext(Living,maponhovertext);"
/>
<viewpoint name="p2" scene="kit" x="290" y="54" heading="10" scale="1"
mask="%CURRENTXML%/map_images/maskkit.png"
onclick="gotoscene(kit);" onhover="showtext(Kitchen,maponhovertext);"
/>
......
</map>
Display More
full list of available attributes:
keep="true"
editmode="false"
edge="righttop"
align="righttop"
x="10" y="10"
path="%CURRENTXML%/automap/"
map="%CURRENTXML%/map_images/map.jpg"
mask="%CURRENTXML%/map_images/mapmask.png"
zorder="1"
scale="1"
alpha="1"
radar_alpha="0.5"
point_url="%CURRENTXML%/map_images/viewpoint.png"
point_crop="32"
onclick="switch(map[map1].scale,1,0.2); tween(plugin[map1].scale,get(map[map1].scale), 0.3);"
viewpoint_auto="false"