-
Notifications
You must be signed in to change notification settings - Fork 5
Introduction
jorgelf edited this page Dec 7, 2012
·
6 revisions
The XVM is a web map viewer with its code written completely in JavaScript. It uses OpenLayers for all the map related work, in fact we could describe it as an OpenLayers with an additional component over it that provides easy customization and a simple modular approach to the controls.
The xvm.html file shows us how simple it is to create an XVM viewer. Once we added all the dependencies and configured layers, controls and general options, we just need the following JavaScript line to be executed when everything's been loaded for adding a map to a 'map' html div element:
XVM.createDefaultMap();
Please check the section Code Structure for understanding how the XVM was designed, and Customization and Creating New Controls for configuring it.