Tag Info

New answers tagged

0

Since the popup content is dynamic, you need a map.on listener for the popupopen event. This will bind the overlay to the image in the popup: JSFIDDLE $(document).ready(function () { $("img[rel]").overlay(); $('#test1').fadeOut(); var map = L.map('map').setView([-41.2858, 174.78682], 14); mapLink = '<a ...


0

Perhaps use DOM methods to replace the contents of the div. http://leafletjs.com/examples/choropleth.html look at the info.update function which sets the innerHTML.


0

create your overlay offline(but dynamically) using the programming language of your choosing. it'll be a bit complex but the basic pseudo code would be: browser javascript send request url for overlay acquire gis bounds for tile server side gather all points and sort by their relevance create image(transparent) for each point: (least relevant first) draw ...



Top 50 recent answers are included