title: Leaflet Map Rails, Tiles Blank
body: <p>Using the <code>gem leaflet-rails</code></p>
  
  <p>My initializer has the <code>tile_layer</code> and <code>max_zoom</code></p>
  
  <p>there is a height to the div: <code>.mapid { height: 500px; }</code>
  Here is my html.erb</p>
  
  <pre><code>&lt;% @imgData.each_with_index do |data, index| %&gt;
  &lt;%=image_tag( data['images']["standard_resolution"]['url'] )%&gt;
  &lt;div class="mapid" &gt;
      &lt;%= map(:container_id =&gt; "map" + index.to_s, :center =&gt; {
        :latlng =&gt; [data['location']['latitude'], data['location']['longitude']],
        :zoom =&gt; 18
      }) %&gt;
  &lt;/div&gt;
  </code></pre>
  
  
  
  <p>When I hover on those links for the img src, they are valid and will lead me to a tile.
  <a href="https://i.stack.imgur.com/15M4r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/15M4r.png" alt="enter image description here"></a></p>
  
  <p>My tiles get loaded properly. There are no js errors, but nothing is being displayed... Any ideas?</p>