title: Leaflet markers are not being displayed
body: <p>This code used to work, but I'm not sure what I changed, or what changed in Leaflet to break it, but no markers are showing. Data is coming back correctly, marker objects are being created, but no markers are being displayed. I'm at a loss here. Using 0.7.2. Let me show you the code...</p>
  
  <pre><code>  function getGameMarkers(){
   var center = map.getCenter();
   var zoo = map.getZoom();
   var bounds = map.getBounds();
   var min = bounds.getSouthWest().wrap();
   var max = bounds.getNorthEast().wrap();
  
   //console.log(bounds);
   //console.log(min);
   //console.log(max);
  
   $.ajax({type: "GET", url: "./ajax/markers.php", dataType: "json", data: "clat="+center.lat+"&amp;clng="+center.lng+"&amp;zoom="+zoo+"&amp;minlat="+min.lat+"&amp;minlng="+min.lng+"&amp;maxlat="+max.lat+"&amp;maxlng="+max.lng+cookiestr, 
    success: function(data){
          if (data.showmap == 1) {
             plotlist = data.map_data;    
             removeMarkers();
             //console.log(plotlist.length);
  
             for (i=0;i&lt;plotlist.length;i++) {
                  var iconic = String(plotlist[i].icon);
                  var plotmark = new L.marker([plotlist[i].lat,plotlist[i].lng], {icon: L.icon({iconUrl: iconic, iconSize: [32, 32]}) }).bindPopup(plotlist[i].html);
                  map.addLayer(plotmark);
                  console.log(plotmark);
                  console.log(plotlist[i]);
                  plotlayers.push(plotmark);
              }
  
             $("#content").html(data.html);
          }else {
            $("#map_content").show(); 
            $("#map_content").html(data.main_content);
            $("#content").html(data.side_content);
          }
      } 
    });
  </code></pre>
  
  <p>}</p>
  
  <p>Everything should be working just fine. The server returns the information correctly. There are always 13 items in the list (expected behavior), and I print the contents of plostlist[i] to the console as well as the plotmarker object. </p>
  
  <p>Here is the output for plotlist[i]:</p>
  
  <pre><code>e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "41.564087", lng: "-73.023376", icon: "./img/avicon3.png", html: "&lt;a href='#' onclick='getcon(8,107184863);'&gt;viktor&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Level: 2 / Energy: 3 "} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "40.944637", lng: "-73.671570", icon: "./img/avicon3.png", html: "&lt;a href='#' onclick='getcon(8,116518883);'&gt;gambatedhan&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Level: 3 / Energy: 8 "} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "41.288128", lng: "-74.135742", icon: "./img/avicon2.png", html: "&lt;a href='#' onclick='getcon(8,118454338);'&gt;halil&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Level: 1 / Energy: 8 "} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "40.857449", lng: "-74.039612", icon: "./img/avicon3.png", html: "&lt;a href='#' onclick='getcon(8,120599464);'&gt;KIM15&lt;/a&gt;&lt;br/&gt;&lt;br/&gt;Level: 2 / Energy: 1 "} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "40.6687012", lng: "-73.9646988", icon: "./img/bicon2.png", html: "&lt;a href='#' onclick='getcon(2, 157764); return false;' &gt;Brooklyn Botanic Garden&lt;/a&gt;"} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "40.7062111", lng: "-73.3062286", icon: "./img/ricon.png", html: "&lt;a href='#' onclick='getcon(1, 114779); return false;' &gt;West Islip&lt;/a&gt;"} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "40.7625999", lng: "-73.4531784", icon: "./img/ricon.png", html: "&lt;a href='#' onclick='getcon(1, 114526); return false;' &gt;Old Bethpage&lt;/a&gt;"} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  Object {lat: "40.9381485", lng: "-73.8320770", icon: "./img/ricon.png", html: "&lt;a href='#' onclick='getcon(1, 114063); return false;' &gt;Bronxville&lt;/a&gt;"} (index):100
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
  </code></pre>
  
  <p>Everything looks fine...now for plotmark output:</p>
  
  <pre><code>e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
   (index):99
  e {options: Object, _latlng: o.LatLng, _initHooksCalled: true, _leaflet_events: Object, _popupHandlersAdded: true…}
  </code></pre>
  
  <p>Once again, looks fine.</p>
  
  <p>So...</p>
  
  <p>Here are my thoughts on what could be happening...either those lat/lng coordinates being returned are being deprecated or are being interpreted differently and they are off the map, or the layer isn't being displayed for some reason. Any thoughts?</p>