- page.load = function () {
- var loadTimer = setTimeout(setLoading, 250);
- $('#sidebar_content').load(window.location.pathname + "?xhr=1", function (a, b, xhr) {
- if (xhr.getResponseHeader('X-Page-Title')) {
- document.title = xhr.getResponseHeader('X-Page-Title');
- }
- bind();
- clearTimeout(loadTimer);
- clearLoading();
-
- var data = $('.details').data();
- if (!noteState) map.addLayer(noteLayer);
- if (window.location.hash == "") map.panTo(data.coordinates.split(','));
-
- if (!map.hasLayer(halo)) {
- halo = L.circleMarker(data.coordinates.split(','), {
- weight: 2.5,
- radius: 20
- });
- map.addLayer(halo);
- }
- });
- };
+ if (!map.hasLayer(halo)) {
+ halo = L.circleMarker(latLng, {
+ weight: 2.5,
+ radius: 20,
+ fillOpacity: 0.5,
+ color: "#FF6200"
+ });
+ map.addLayer(halo);
+ }