Hello Esteban,
Most likely after the popup closes there is a javascript error in your
page and navigation breaks (zooming in/out shouldn't work at this
point). Use firebug to see if you get an error in the console.
Esteban olm wrote:
Hi,
I'm sorry, but I have a problem.
When I implement th
Hi,
Esteban olm wrote:
> Hi,
>
> I'm sorry, but I have a problem.
>
> When I implement this, I can "pan" the map, and when I go over a
> marker, A popup appears, and when I go out of the marker, the popup
> disappear.
>
> That's ok, but after the popup has appear an disappear, now I can not
> "
Hi,
I'm sorry, but I have a problem.
When I implement this, I can "pan" the map, and when I go over a marker, A
popup appears, and when I go out of the marker, the popup disappear.
That's ok, but after the popup has appear an disappear, now I can not "pan"
the map.
Maybe the popup has deactivate
Following Alexandre's suggestion, here's what I did:
... //in init()
map.addLayer(markers);
//add the main select (for regular popups)
select = new OpenLayers.Control.SelectFeature(markers, {toggle:true,
clickout: true});
markers.events.on({ "featureselected": onMarkerSelect,
"featureunselected"
Thank you for your suggestion - I will try it and let you know how it works!
Regards,
Adrian
Alexandre Dube wrote:
> Hi Adrian,
>
> Take a look at this example (1). You can use 2 SelectFeature
> controls for what you need, one with hover:true and
> highlightOnly:true, the other with hover fal
Hi Adrian,
Take a look at this example (1). You can use 2 SelectFeature controls
for what you need, one with hover:true and highlightOnly:true, the other
with hover false. The first one won't actually select the feature and
you can register 3 kinds of "highlight" events (see the source) to
Hello everyone,
This is sort of a repeat message of "Re: [OpenLayers-Users]
Labels/Tooltips on mouse over a Vector layer" - but with a slightly
different idea.
Problem: I want to display a small div/popup with the marker's name when
the user hovers his mouse over the location, and I want to