VisioWeb2D allows you to load and explore 2D maps built from VisioMapEditor.
For support and online documentation, please refer to our developer website.
For offline documetation see the doc.web2d directory.
This delivery is full featured and contains mapviewer.web2d.html, which is a basic example of how to use VisioWeb2D.
installation
- To view the mapviewer example, you will need to load the page from a web server because VisioWeb2D uses xmlHttpRequest. a. For deveopment, we suggest installing a local webserver (for example WAMP) for loading the mapviewer page. b. For production, you can use your current webserver. There is no specifc requirement other than being able to server html and javascript files.
- VisioWeb2D is supported on all major browsers including:
- Chrome,
- Safari,
- Firefox,
- IE9, IE10, IE11
- Safari mobile
- Windows Phone 8 IE
There is partial support for IE8 for Windows XP. The maps will display and most functions will work. There are only few fields that do not work on IE8 due to limitations on object properties support. The most important limitation is not being able obtain the camera position: mapviewer.camera.position Please see documentation for more details.
see CHANGELOG WEB2D SAMPLE and CHANGELOG WEB2D SDK for more information.
application/mapviewer/mapviewer.web2d.html
This file contains an example of how to use the VisioWeb2D. The example aims at displaying a Mapviewer in a div and the list of shops taken from a json file as an associative array.
- User can manipulate the camera point of view and interact with the map.
- Clicking on a shop will place the camera near the shop and highlight the selected shop.
- Hovering over an item within the shop list will highlight the shop within the map. Clicking on the shop within the list will highlight the shop and focus the camera on the shop.
For maps containing several floors, changing floors is achieved by clicking the floor name link, present at the bottom of the map.
application/mapviewer/mapviewer.web2d.multibuilding.html
This file contains an example of how to use VisioWeb2D for multi-building -enabled maps.
It brings useful features to enable the user to explore a complex map composed of several buildings.
When selecting a building, the user can explore its different floors but the other buildings and the outside area remains visible.
application/data.bundles
Local bundles. Mainly used for testing. When integrating your client's map you will most likely connect your app to our hosting server using a hash code.
build/vg.mapviewer.web2d.js|css
This is the main library file (with its corresponding css).
When upgrading to a new version of VisioWeb2D, the first action is to update that file.
doc.web2d
This directory contains the documentation for the VisioWeb2D SDK software.