3D maps anywhere with eegeo.js

API key

To use eegeo.js, you will first need to acquire an eeGeo API key by signing up for a free account.

You can then supply this API key to as in the code below.

Getting started

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

Just replace your_api_key_here with your API key, and paste this code into the body of your HTML.

For a simple demonstration of a page using eegeo.js, see the examples section.

API documentation

The eegeo.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, eegeo.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.


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


See more examples ➜