anchor.diff:    return array
   }
   
  +$(function(){
  +  var map, markerPathLayer
   
  -$(function(){
     locations.afterLoad();
   
     $("#map-tab-button").on('click',function() {
  -    var map = generateMap();
  -    // need to massage latlongs to remove null ones and add wrapping points
  -    var latLongs = locations.information.map(function(){return this.latlong})
  -    // latLongs = cleanedLatLongs(latLongs);
  +    map = generateMap();
  +    markerPathLayer = locations.all(map, markerPathLayer);
   
  -    mapMod.addPolylines(latLongs, map);
  +    $(this).off();
   
  -    locations.information.each(function(){
  -      mapMod.addToMap(this.marker, map);
  +    $("#map-prev").on('click', function(){
  +      markerPathLayer = locations.prev(map, markerPathLayer);
       })
  -    $(this).off();
  +    $("#map-all").on('click', function(){
  +      markerPathLayer = locations.all(map, markerPathLayer);
  +    })
  +    $("#map-next").on('click', function(){
  +      markerPathLayer = locations.next(map, markerPathLayer);
  +    })
     });
  -
  -  $("#map-prev").on('click', function(){
  -    console.log("hello");
  -  })
  -  $("#map-all").on('click', function(){
  -    console.log("hello");
  -  })
  -  $("#map-next").on('click', function(){
  -    console.log("hello");
  -  })
   
   });
   
  
positive.code:     // Interaction options
      worldCopyJump: true
    });
    mapMod.addToMap(mapConfig.baseLayer, map);
    map.fitWorld();
    return map;
  }
  
negative.code: }
  
  var locations = {
    currentLocation: 0,
    afterLoad: function(){
      this.getCoordinates();
    },
  