krpano uses simple xml text files for storing the settings for the krpano viewer. These files can be written or edited with any usual text editor, but when writing the xml code, it is important that the xml-syntax-rules will be respected! These basic rules are the same for all xml files and not specific to krpano.
New features in krpano 1.20.11
- It's now possible to use iframes (external websites), html-code and even krpano itself directly inside krpano as layers.
- Using krpano inside krpano allows doing things like using krpano as maps-viewer inside a krpano tour - or the inverse - a map with krpano panos as popups on it. This way no external maps-library is required and the styling and controlling of everything (like the hotspots) can be done using the same krpano API.
- Here two examples for that:
Maps Example - use krpano as small map-window inside a krpano pano tour.
Maps2 Example - use krpano as main map-viewer and another krpano viewer as pano/tour viewer for the hotspot locations.
- These both maps examples are mainly made using the Javascript APIs and show also how to extend krpano with additional features - e.g. like in this case with full Latitude and Longitude coordinates (lat/lng) support. The Maps2 Example also shows how to use the Browsers Geo-Location API.
- There is a new loadpanoimage() action to load pano images without the need for a xml or a xmlstring. Instead of an <image> string, the image element can be first constructed directly as object and then be loaded by calling loadpanoimage().
- There an usage example (Javascript code):
- Using a transparent background for the viewer is fully supported now. In the previous versions especially the pano-blending between panos wasn't working when a transparent viewer background was used. Btw - a nice new usage case therefore is a background image (e.g. by using a layer with parent=BGLAYER) for 3D 'doll-house'-views.
- The text in text fields or html-layers is now optionally selectable and can open the Browsers default context menu, e.g. for copying text.
- By using parent="OVERLAY" there is now a new way for putting layers above all others and/or outside the area. Different to parent="STAGE" these layers are within the same context as other layers and so avoid problems with the browsers event flow (the order of events or when something is clickable or not).
- As the Flash-output is typically not needed anymore today, it is disabled by default now. Flash itself is still optionally supported, but the version 1.20 will be the last one with it. In version 1.21 Flash will then be completely removed.
- The WebVR wakelock for iOS was improved - it can automatically restart when interrupted and can reuse existing videos (from the pano or from hotspots) as wakelock-trigger.
- Additionally there were several other smaller improvements and fixes.
· Fix: In some cases the actions are not processed correctly.
· Fix: The padleft/padright inline functions were interpreting their parameters in some cases as Numbers instead as Strings and that leaded to a wrong behavior.
· Fix: In some cases the charat, charcodeat, indexof, lastindexof, slice, substr inline functions were returning/using wrong indices.
· Fix: The 'allow loading only files from the same domain' protection option wrongly rejected DATA-urls.
· Fix: Crash in the maketiles tool when loading multiple tiles and loading one tile fails.
· Fix: Panotour Pro Templates: Resuming background sounds wasn't working.
· New: Makepano tool - the panotype config setting has an additional option for setting the default pano type for non-autodetectable images.
· New: Convert Droplet - new option to declare the input images as cylindrical panos.
· Fix: Soundinterface Plugin - in some cases reusing an already played sound failed.
· Fix: The logkey wrongly reacts also to <, > keys.
· Fix: In the VTour Editor / Pano-type editor dragging the north arrow sometimes didn't work.
· Fix: vtourskin.xml - allow using startscene, startlookat also when the skin deeplinking setting isn't enabled.
· Fix: VTour Droplet - new files can be dropped-in again after processing without the need to click the close button before.