Skip to main content

RasterJS API

RasterJS API is a JavaScript library that allows you to add a 2D 2GIS map to your website.

The library allows you to:

  • Create interactive maps on the web page.
  • Display markers, popups, and geometric objects on the map.
  • Determine the coordinates of geoobjects by their names and the names by the coordinates.

For more library usage examples, see the RasterJS API documentation.

The source code of the RasterJS API is available on GitHub, the project is open to suggestions and pull requests.

Tariffs

  • The service fee is calculated based on the number of billable events of the Raster Tiles API service, which provides access to raster map tiles. One event is a successful request that returns a raster tile in PNG format. Unlimited access to the RasterJS API library is provided free of charge.
  • Current prices for services are available in the Platform Manager.

Using with Raster Tiles API

You can use the RasterJS API library with the Raster Tiles API service depending on its deployment option:

  • Cloud-based: RasterJS API is available for use with the cloud version of the Raster Tiles API.
  • On-Premise: RasterJS API is not available for use with the Tiles API installed in a private network as the 2GIS API Platform component.

What's next?