Customizing Popups in Openlayers

المشرف العام

Administrator
طاقم الإدارة
Is it possible to customize the shape of popups in OpenLayers? For example, I am creating a pop-up using the following approach:

var popup = new OpenLayers.Popup.FramedCloud( "popup", OpenLayers.LonLat.fromString(feature.geometry.toShortString()), null, ''+feature.data.Name + '</br>test.url' + '
', null, true );This creates a popup with the following appearance:



Is it possible to change from the rounded corners and a curved 'connection' to a more square pop-up?



أكثر...
 
أعلى