GISFile JavaScript API


Description GISFile JavaScript API is designed to display the layers and maps on the Web sites and applications. The guide is intended for developers who are familiar with JavaScript programming and object-oriented model of working out. The document describes the basic concepts used in the API, and methods for solving standard tasks arising when creating and publishing maps.

Displaying map

Example of the display map in kr tiles view on the base layer OpenStreetMap.

<body>
    ...
    <script src="http://gisfile.com/api/1.0/?map=kr&type=tile&width=100%&height=360" type="text/javascript" charset="utf-8"></script>
    ...
</body>
Displaying layer

Example display mark for shelter on the base layer OpenStreetMap, using an algorithm MarkerCluster.

<body>
    ...
    <script src="http://gisfile.com/api/1.0/?layer=shelter&marker&width=100%&height=360" type="text/javascript" charset="utf-8"></script>
    ...
</body>

The most simple variant the map display with the mark on the Web page without registration on the GISFile examined on page Quick start Get Html and JavaScript code map with a mark in a few clicks can by using the Designer