Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Montag, 20. November 2017, 18:11

KrPano - heatmap

Hello, I gethering coordinates from spherical view to JSON file and i would like to use this points to generate heatmap or put those points on the spherical scene or something transparent to visualise those points in KrPano. Is this possible to do at this moment?

VRW_Phil

Schüler

Beiträge: 62

Wohnort: London

Beruf: Krpano Custom Coding. Responsive Websites.

  • Nachricht senden

2

Montag, 20. November 2017, 19:45

You can call the json through normal JavaScript calls on your html page and then pass the values to krpano.
Have a look at this link: https://krpano.com/docu/js/

jordi

Fortgeschrittener

Beiträge: 400

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

3

Dienstag, 21. November 2017, 16:29

You could dynamically create hotspots based on JSON, using textfield for example and assign size and color to the hotspot.
visita3d.com advanced virtual tours
a new way to communicate

4

Dienstag, 21. November 2017, 21:22

Hi, thanks for reply but i have problem like:

Our JSON file have
{
"Coordinates":[
{"Latitude":"-4.42519","Longitude":"-1.091525","Timestamp":"151117121927963"},
{"Latitude":"-4.382908","Longitude":"-1.066642","Timestamp":"151117121927980"},

}],
}
and so on.

This can have 3000 position or even more… and printing this values in Krpano “info” took me 10 sec so with more Coordinates it will take much more, and placing that many objects will kill performance of Krpano. Next i don't want objects to overlap. I want to do something like


to visualise it in spherical view of pano like i did in 2D using heatmap library for JS.


But Heatmap on 2D image was just for testing

spheretoscene and scenetosphere just converts values(if i understood well) and i don't need converting just to draw by using latitude and longitude from json and other option didn't help me as i would like to.

@jordi
With so many hotspots performance of Krpano won't decrease?

jordi

Fortgeschrittener

Beiträge: 400

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

5

Mittwoch, 22. November 2017, 10:07

Yes with so many hotspots, krpano will be slow, also the time for creating them will be huge, any way you should be using javascript function to create them rather than the xml method.

What you should do is to create an image with the result you get as you are showing above, and load that image as a hotspot that could cover the full pano.
visita3d.com advanced virtual tours
a new way to communicate

6

Mittwoch, 22. November 2017, 14:49

thanks for idea with that image :)
i will think about it but first app for gethering coordinates must be fixed :D


thanks for now :)