[OpenLayers-Users] Markers layer and onMapResize

Bart van den Eijnden bartvde at osgis.nl
Thu Jul 8 03:59:57 EDT 2010


Hi,

your analysis is right. 2 options to solve it:

1) create a patch to add onMapResize to the Marker layer
2) use a Vector layer with an externalGraphic, will look the same as your marker layer, but will properly resize.

Best regards,
Bart

On Jul 8, 2010, at 9:52 AM, TAMER GUR wrote:

> Hi, 
> 
> I have a map and some vector and markers layer on it. 
> 
> When I resize the map for expand or collapse like in Google maps.Although my vector layers elments like point,line are correctly relocating. 
> but my markers layers markers couldn't. 
>   
> when resizing the map  I am calling map.updateSize()  function when I look the code this function calls every layers onMapResize function and I think markers layer is not implementing this function. 
> 
> Any idea to solve this. 
> 
> Best Regards, 
> Tamer
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Yasal Uyarı :
> 
> 
> Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul ve Şartlar dokumanına tabidir 
> 
> 
> http://www.vodafone.com.tr/VodafoneHakkinda/eposta-hukuki-sartlar.php
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100708/41c58c78/attachment.html


More information about the Users mailing list