Permalink
Browse files

Chach's today filter and escaped undefined variable

  • Loading branch information...
1 parent ff187d0 commit f8d6d5a61cf9e8e6246f18db9616da0a9bd72ef5 Chach Sikes committed May 3, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −2 js/newplaymap.data.js
  2. +1 −0 js/newplaymap.js
View
@@ -16,7 +16,6 @@ newPlayMap.loadJSONFile = function(vars) {
newPlayMap.loadAPICall = function(vars) {
var vars = vars;
- console.log(vars);
var contentData = vars.path + "&cache=" + Math.floor(Math.random()*11);
var getData = $.ajax({
url: contentData,
@@ -159,7 +158,7 @@ newPlayMap.onLoadDataMarkers = function(vars) {
}
else {
// Zoom for feature. By default was zooming in a lot because of set extent and the availability of location data.
- //map.setCenterZoom(new MM.Location(locations[0]["lat"],locations[0]["lon"]), vars.zoomLevel);
+ map.setCenterZoom(new MM.Location(locations[0]["lat"],locations[0]["lon"]), vars.zoomLevel);
}
// Apply behavior listener for layer type.
if(vars.callback !== undefined) {
View
@@ -4,6 +4,7 @@ var jsonData = {};
var panelMarkup = {};
var spotlight = {};
var locationsByID = {};
+var IDByLocations = {};
var mm = com.modestmaps;
var map = map || {};
var loaded = 0;

0 comments on commit f8d6d5a

Please sign in to comment.