<script src=""></script>
<link href="" rel="stylesheet" />
<div id="map" style="height: 250px"></div>
<script>"map", "your_api_key_here");</script>

Getting started

  1. To use WRLD.js, you will need to sign up for a free account.
  2. Once you get a free account, you will be able to create an API Key.
  3. Just replace your_api_key_here with your API key, and paste this code above into the body of your HTML.

API documentation

The WRLD.js API is based on Leaflet.js, providing a familiar API for embedding 3D maps in a web page.

To allow them to work in 3D space, WRLD.js extends a few of the Leaflet types. For example, the function creates an interactive 3D map on the page, while the L.eeGeo.marker and L.eeGeo.popup functions create overlays that can be positioned vertically from the ground.


See more examples ➜


If you have any questions, bug reports, or feature requests, feel free to submit to the WRLD.js issue tracker on GitHub.