title: Why are not all the Leaflet markers being displayed on the map?
body: <p>This code looks good to me. The data comes back correct, marker objects are being created, but only the first marker is displayed. There are actually two sets of markers, the set in question is all red markers. I've commented out the others but left the code.
  Here is the code created by MySQL/PHP:</p>
  
  <pre><code>var W0KCN3 = new L.Marker(new L.LatLng(39.2859182,-94.667236),{
                          contextmenu: true, contextmenuWidth: 140,
                          contextmenuItems: [{ text: 'Click here to add mileage circles',
                              callback: circleKoords}],
                          icon: new L.NumberedRedIcon({number: 'E1' }),
                          title: "marker_E1"}).addTo(fg).bindPopup("W0KCN-3 Platte Co. Resource Center&lt;br&gt;Kansas City, MO&lt;br&gt;39.2859182, -94.667236&lt;br&gt;EM29PG").openPopup();
  
                          $(EOC._icon).addClass("redmrkr");
                          markers.push(W0KCN3);
  
  
                  var W0KCN4 = new L.Marker(new L.LatLng(39.3721733,-94.780929),{
                          contextmenu: true, contextmenuWidth: 140,
                          contextmenuItems: [{ text: 'Click here to add mileage circles',
                              callback: circleKoords}],
                          icon: new L.NumberedRedIcon({number: 'E2' }),
                          title: "marker_E2"}).addTo(fg).bindPopup("W0KCN-4 Platte Co. EOC&lt;br&gt;Platte City, MO&lt;br&gt;39.3721733, -94.780929&lt;br&gt;EM29OI").openPopup();
  
                          $(EOC._icon).addClass("redmrkr");
                          markers.push(W0KCN4);
  
  
                  var STJOMC = new L.Marker(new L.LatLng(38.93620,-094.60370),{
                          contextmenu: true, contextmenuWidth: 140,
                          contextmenuItems: [{ text: 'Click here to add mileage circles',
                              callback: circleKoords}],
                          icon: new L.NumberedRedIcon({number: 'H1' }),
                          title: "marker_H1"}).addTo(fg).bindPopup(" Saint Joseph Medical Center&lt;br&gt;Kansas City, MO 64114-4865&lt;br&gt;38.93620, -094.60370&lt;br&gt;EM28QW").openPopup();
  
                          $(Hospital._icon).addClass("redmrkr");
                          markers.push(STJOMC);
  </code></pre>
  
  <p>In this simple case, marker W0KCN3 appears on the map but no subsequent markers are displayed. It appears to me the server returns all the information correctly, there are about 70 more markers. If I comment out the MySQL call for W0KCN3 then marker W0KCN4 shows up and no others. This holds true for at least the first 10, which I tried.</p>
  
  <p>This test program can be seen at <a href="https://net-control.us/map1Rose.php" rel="nofollow noreferrer">https://net-control.us/map1Rose.php</a></p>