eegeo.js
<script src="https://cdn-webgl.eegeo.com/eegeojs/early_access/latest/eegeo.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.0.1/leaflet.css" rel="stylesheet" />
<div id="map" style="height: 250px"></div>
<script>L.eeGeo.map("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 L.eeGeo.map 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.

Examples

See more examples ➜

Support

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

v0.1.1111