News Examples Documentation Download Buy Forum Contact

Documentation

Plugins

XML Extensions

Tools


Third Party Software
for krpano

AutoMap - Automatic map with radar
by OrangeBox - mail@atlas-is.ru

Description

xml only, no flash!
Just include automap.xml, add map node with viewpoint subnode
Easy to use!

Example AutoMap

CLICK TO VIEW EXAMPLE
NOTE - this is a commercial plugin - to use it - it must be purchased. 19.9€
contact me

You can purchase this plugin through the link below.
Updates for this plugin are free!

Update in progress / The plugin is currently not available for purchase!

Syntax / XML Usage Example

This is XML only plugin - Automatic map with radar.
Usage:
just include xml module in your main tour xml

Usage xml example

How to use automap....
for add map use tag below, all atributes are optional
 
<map name="map1" 
	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"
	radar_visible="true"
	point_url="%CURRENTXML%/map_images/viewpoint.png"
	point_crop="32"
	onclick=""
	viewpoint_auto="false"
>
 
   <viewpoint name="p1" scene="" x="" y="" heading="" scale="" mask="" onclick="" onhover="" />
   <viewpoint name="p2" scene="" x="" y="" heading="" scale="" mask="" onclick="" onhover="" />
   <viewpoint name="p3" scene="" x="" y="" heading="" scale="" mask="" onclick="" onhover="" />
 
</map>

buildmap(mapname); - map building function

MAP node description:

path - path to xml plugin
map - map image url
mask - map mask image url (if null then use same map image)
radar_alpha - radar opacity
radar_visible - radar visibility, hide map radar beam (true if set none)
point_url - viewpoints image url (has two states - normal/hover and size 1x2)
point_crop - height of viewpoints image (for set of states crop)
onclick - map onclick action
viewpoint_auto - add viewpoints automaticly (set additional attributes in scene node)
editmode - switch map to edit mode, map jump to lefttop, mouse cursor show x/y, for detect radar heading - press left button on radar and rotate to direction you will see heading value

VIEWPOINT node description:

scene - target scene name
x - x position from left top corner
y - y position from left top corner
heading - heading of direction
scale - radar scale
mask - radar mask url
onclick - onclick event action
onhover - onhover event action

additional attributes for viewpoint_auto="true" mode, add top scene node
title - scene title (shows viewpoints onhover)
map - name of map
mapx - scene viewpoint x
mapy - scene viewpoint y
mask - scene viewpoint radar mask
heading - scene viewpoint radar heading

example:
<scene name="scene1" map="map1" mapx="50" mapy="35" mask="scene1mask.png" heading="38" ...

NOTE! - if viewpoint_auto="true", remove all viewpoint nodes from map.