Sie sind nicht angemeldet.

1

Donnerstag, 12. Dezember 2013, 08:54

Distance plugin

Hi all.

One of my clients wanted to performance the interactive map with marked points (hotspots). Nothing simpler, right. FLASH technology.

My client came up with the idea, unfortunately, to install a script that will calculate and display information about the distances between hotspots.

My request is:
Does anyone of you - the creators of virtual tours based on krpano - is able to do such a thing?
Plugin would work as[url]http://krpano.com/plugins/userplugins/gmdistance/ # top[/url] but on a local image map.

If it could be done send me a price and the execution time.

I'll be grateful for your response

2

Donnerstag, 12. Dezember 2013, 14:05

Hi!You no need any plugins.
it's simple calculations (rectangular) for flat map.
All you need to know is scale. (how many pixels in one meter)
calculation dx*dx + dy*dy = distance * distance
distance = Math.sqrt( distance * distance );
Note: it's just conception, not real krpano code ;)

Andrey *thumbup*
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN