Sie sind nicht angemeldet.

1

Donnerstag, 20. April 2017, 21:19

Loadpano not cleaning old scene data

Hi!
I have an issue with using loadpano, well, a couple of them.
Firstly it doesn't clean old stuff, like thumbails, which contain thumbnails from the last xml, but the link don't work and throw and error.
The map plugin completely ignores the loading of new scenes.

I'm using loadpano like this:

Quellcode

1
krpano().call("loadpano(" + xmlname + ", null, MERGE, BLEND(0.5));");



I'm hoping that there is a way to do the cleaning while loading new xml automaticaly, before I go to the trouble of writing housekeeping stuff like this.

Please chime in!

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Freitag, 21. April 2017, 10:37

Hello
The map plugin completely ignores the loading of new scenes.
What exactly do you mean? Spot maps or move the map or what? What do you want to do with the map after loading a new panorama?

best regards
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Freitag, 21. April 2017, 11:41

Hello
The map plugin completely ignores the loading of new scenes.
What exactly do you mean? Spot maps or move the map or what? What do you want to do with the map after loading a new panorama?


The maps plugin automatically creates spots from scene data on the first load.
I expected the map to delete old map spots, create new ones and positions the map in the center of new spots.

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

4

Freitag, 21. April 2017, 18:14

The maps plugin automatically creates spots from scene data on the first load.
I expected the map to delete old map spots, create new ones and positions the map in the center of new spots.
You must do this manually I'm afraid. The map plugin is not that smart *w00t*

Use this manual:

https://krpano.com/plugins/googlemaps/#activatespot


You can use onnewscene event.

best regards
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

5

Samstag, 22. April 2017, 11:56

The maps plugin automatically creates spots from scene data on the first load.
I expected the map to delete old map spots, create new ones and positions the map in the center of new spots.
You must do this manually I'm afraid. The map plugin is not that smart *w00t*

Use this manual:

https://krpano.com/plugins/googlemaps/#activatespot


You can use onnewscene event.

best regards
Piotr
Oh, I was hoping to avoid that. I could just use an iframe and call it a day *unsure*
Well I better get started on it.

It would be lovely if Klaus could just add those functions to Krpano.