2
I’m trying to do a popup using Openlayers (more specifically using Ol4jsf) but the add to popup use the direct jscript, and the popup gets out all the time. What’s the reason?
Code used:
<m:script>
var lonLat = new OpenLayers.LonLat(-47.89460,-22.00710).transform(
new OpenLayers.Projection("EPSG:4326"),
new OpenLayers.Projection("EPSG:900913")
);
var popup = new OpenLayers.Popup.FramedCloud("Popup",
lonLat, null,
'Texto', null,
true
);
map.setCenter(lonLat, 18);
map.addPopup(popup); </m:script>
guy, possibly it’s CSS. I would kick some rule from your page interfering with the popup.
– D. Melo
So, I got it Solved, I’m posting the solution, and it wasn’t xD CSS
– Paulo