Українська | Русский | English | visicom.ua | rf-planning | sets of geodata and gis solutions | gps-navigation | maps for polygraphy |
Map | About company | Project | Documentation (API) |
|
BasicsVisicom provides a convenient mechanism for the integration of online maps in web-page. This guide describes all the possibilities of the Visicom Maps API. Through this mechanism, you can place on the map your objects, mark the area objects, paving the shortest route. This page shows an example of a simple integration of maps into a web page. Example:
Map of the Kiev
Source code:To show the map on your site, just create a HTML file with the following content.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html> <head> <title>Maps of Ukraine - Visicom Maps API 2.0.0</title> <meta http-equiv="imagetoolbar" content="no" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> </head> <body> <script type="text/javascript" src="http://maps.visicom.ua/api/2.0.0/map/world_ru.js"></script> <div id="viewport" style="width: 740px; height: 580px;"> <a id="visicom_copyright_link" href="http://maps.visicom.ua/">map of the Kiev</a> </div> <script type="text/javascript"> var map; function createVisicomMap() { map = new VMap(document.getElementById('viewport')); var point = {lng: 30.5112, lat: 50.4550}; map.center(point, 5); } </script> </body> </html>
Initialize must perform the function createVisicomMap(). Class VMapVMap is the main class of map's engine. Constructors
Methods
Events
|
Tel./Fax: +380 44 201-00-26 E-mail: web-maps@visi.com.ua Address: 01025, Ukraine, Kiev, B. Zhytomirskaya Str., 25/2 |
© 2006 2010, Visicom. All rights reserved. |