New answers tagged

0

You need to create marker object before or on click on the list item. Currently, what is happening is that marker object is not initialized properly and also the map object is not accessible in terminiFunction(). Here are the updated functions: var map; function initMap() { // Create a map object and specify the DOM element for display. ...


0

My bad, I stumbled on an OL2 example with featureover and didn't pay attention. From the KML example given in the above comment, the code below works along with a ol.interaction.Modify : map.on('pointermove', function(evt) { if (evt.dragging) { return; } var pixel = map.getEventPixel(evt.originalEvent); ...


0

What eventually happened was that I joined another table to the event layer and kept only matching records. I figured "I'll just try it, although I don't know why it would work this time." Lo and behold, it worked.


0

Shorten the output filename to 14 characters or less.



Top 50 recent answers are included