anchor.diff:        layer.on('click', function(e){
           var marker = e.target;
           if (marker._popup == null) {
  -          marker.bindPopup('Loading...').openPopup();
  +          marker.bindPopup(_t.loading[locale]).openPopup();
             loadPopupContent(marker);
           }
         });
  
positive.code:     fid = marker.feature.properties.id;
  
      var request = new XMLHttpRequest();
      request.open('GET', '/api/v1/catalogs/photo-library/items/'+fid+'.json');
  
      request.onload = function() {
        if (request.status >= 200 && request.status < 400) {
          // Success!
          var feat = JSON.parse(request.responseText);
          marker._popup.setContent('<a href="'+feat._links.html+'">View item</a>');
        } else {
          marker._popup.setContent('Error. Unable to load item data.');
        }
      };
  
      request.onerror = function() {
        marker._popup.setContent('Error. Unable to load item data.');
      };
  
      request.send();
    }
  
  </script>
  
negative.code: <textarea id="geojson-<%= container.item_type %>" style="display: none;"><%= container.geojson %></textarea>
  <textarea id="bounds" style="display: none;"><%= container.default_bounds.to_json.html_safe %></textarea>
  <input type="hidden" id="catalog_slug" value="<%= container.catalog.slug %>" />
  <div id="map-<%= container.item_type %>" style="width: 100%; height: 400px;"></div>
  
  <script src="https://unpkg.com/leaflet.markercluster@1.3.0/dist/leaflet.markercluster.js"></script>
  