PubNub EON Map SDK 1.1.4

Unsupported SDK

PubNub no longer supports this SDK.

Get Code

<script src=""></script>
<link rel="stylesheet" href=""/>


bower install eon-map --save


npm install eon-map --save

Check out our webpack example.

Hello World

Call{}). Check out the table of options below for more information.

Required UUID

Always set the UUID to uniquely identify the user or device that connects to PubNub. This UUID should be persisted, and should remain unchanged for the lifetime of the user or the device. If you don't set the UUID, you won't be able to connect to PubNub.

<div data-id='map'></div>
<script type="text/javascript">

let channel = 'pubnub-mapbox';

let pn = new PubNub({
publishKey: 'YOUR_PUB_KEY', // replace with your own pub-key
subscribeKey: 'YOUR_SUB_KEY' // replace with your own sub-key

let map ={
pubnub: pn,
id: 'map',
mbToken: 'pk.eyJ1IjoiaWFuamVubmluZ3MiLCJhIjoiZExwb0p5WSJ9.XLi48h-NOyJOCJuu1-h-Jg',
mbId: 'ianjennings.l896mh2e',
show all 19 lines
Last updated on