Skip to content

Commit

Permalink
dont format latlng anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
ianjennings committed Oct 8, 2015
1 parent 398bf44 commit 0c22720
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eon-map",
"version": "0.2.8",
"version": "0.2.9",
"homepage": "https://github.com/pubnub/eon-map",
"authors": [
"Ian Jennings <ian@meetjennings.com>"
Expand Down
4 changes: 2 additions & 2 deletions examples/custom_keys.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
}
</style>

<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.10/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.10/eon.css"/>
<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.9/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.9/eon.css"/>

</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/distributed.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
}
</style>

<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.10/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.10/eon.css"/>
<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.9/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.9/eon.css"/>

</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
}
</style>

<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.10/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.10/eon.css"/>
<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.9/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.9/eon.css"/>

</head>
<body>
Expand Down
4 changes: 2 additions & 2 deletions examples/transform.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
}
</style>

<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.10/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.10/eon.css"/>
<script type="text/javascript" src="http://pubnub.github.io/eon/v/eon/0.0.9/eon.js"></script>
<link type="text/css" rel="stylesheet" href="http://pubnub.github.io/eon/v/eon/0.0.9/eon.css"/>

</head>
<body>
Expand Down
5 changes: 1 addition & 4 deletions pubnub-mapbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,7 @@ eon.m = {
clog('Markers:', 'Updating');

for(var key in seed) {

seed[key].latlng[0] = parseFloat(seed[key].latlng[0].toFixed(5));
seed[key].latlng[1] = parseFloat(seed[key].latlng[1].toFixed(5));


if(!self.markers.hasOwnProperty(key)) {

var data = seed[key].data || {};
Expand Down

0 comments on commit 0c22720

Please sign in to comment.