Beiträge von Nejc Vukovic

    Hello to all.

    I just want to get second set of mind for a few questions I have:

    1. when using embedpano() with the onready callback I found that the onready is fired too soon -> I create a JS file with the function that has to be called when the krpano is loaded and ready, but when I try to log out the krpano instance object it doesn't exist -> but available after 500ms setTimeout - I think the onready callback function is triggered to quick, even before the krpano is really ready.

    2. No way to add and "id" property to the layer that gets created when constructing a layer with xml - did anybody find a way to do something like this ? So that the created layer/div is easy to access from external JS.

    Hope this gets answered.

    Regards,

    Nejc

    Hi to all.

    I also just started out with krpano and I've stumbled on an interesting problem I need help with - if anybody could help - access to source code would also be OK :)

    My problem is that I would like to access the instance of the Map object that gets created with the Google Maps Plugin. I want to add additional info to the spots on the map ( more exactly I would like to add the Google Maps InfoWindow to the spot so I can add additional content to the pop-up), with a InfoWindow.

    I tried showtext.xml but it doesn't serve the purpose I need ( I want to dynammically add images, text and links ).

    And just to add since the plugin uses a static googlemaps.js file I would like to propose the Plugin has the abbility to get the data from the Google Maps JavaScript API directly and that an ID can be given for the map wrapper and access to the Google Maps Instance Object.

    I hope I'm not asking too much but the Plugin as it is now it's a bit limited.

    Regards,

    Nejc Vukovic