@@ -47,8 +47,8 @@ Call ```eon.map({})```. Check out the table of options below for more informatio
4747var channel = ' pubnub-mapbox' ;
4848
4949var pn = new PubNub ({
50- publishKey: ' demo ' , // replace with your own pub-key
51- subscribeKey: ' demo ' // replace with your own sub-key
50+ publishKey: ' YOUR_PUB_KEY ' , // replace with your own pub-key
51+ subscribeKey: ' YOUR_SUB_KEY ' // replace with your own sub-key
5252});
5353
5454var map = eon .map ({
@@ -118,8 +118,8 @@ function connect() {
118118 };
119119
120120 var pn = new PubNub ({
121- publishKey: ' demo ' , // replace with your own pub-key
122- subscribeKey: ' demo ' // replace with your own sub-key
121+ publishKey: ' YOUR_PUB_KEY ' , // replace with your own pub-key
122+ subscribeKey: ' YOUR_SUB_KEY ' // replace with your own sub-key
123123 });
124124
125125 setInterval (function (){
@@ -160,8 +160,8 @@ You can tell the map to follow a point to it's new location whenever data is rec
160160
161161``` js
162162var pn = new PubNub ({
163- publishKey: ' demo ' , // replace with your own pub-key
164- subscribeKey: ' demo ' // replace with your own sub-key
163+ publishKey: ' YOUR_PUB_KEY ' , // replace with your own pub-key
164+ subscribeKey: ' YOUR_SUB_KEY ' // replace with your own sub-key
165165});
166166
167167var map = eon .map ({
@@ -201,8 +201,8 @@ You can supply a custom Mapbox marker object with custom tooltips by extening th
201201 });
202202
203203 var pn = new PubNub ({
204- publishKey: ' demo ' , // replace with your own pub-key
205- subscribeKey: ' demo ' // replace with your own sub-key
204+ publishKey: ' YOUR_PUB_KEY ' , // replace with your own pub-key
205+ subscribeKey: ' YOUR_SUB_KEY ' // replace with your own sub-key
206206 });
207207
208208 var map = eon .map ({
@@ -239,7 +239,10 @@ You can set the `pubnub` init parameter when using Eon Maps. This allows you to
239239``` html
240240<div id =" map" ></div >
241241<script >
242- var pn = PUBNUB ({ subscribeKey : ' YOUR_SUBKEY_HERE' , ssl : true });
242+ var pn = PUBNUB ({
243+ subscribeKey : ' YOUR_SUB_KEY' ,
244+ ssl : true
245+ });
243246 var channel = ' my-map' ;
244247 var map = eon .map ({
245248 pubnub: pn, // PubNub goes here
0 commit comments