[OpenLayers-Users] help with markers

Alexandre Dube adube at mapgears.com
Thu Jul 23 11:06:28 EDT 2009


Hi,

Valeria Muñoz wrote:
> Hi
>  
>     I would like to use photos instead of icons for the 
> markers(20x20), so when i pass the mouse over this photo, the images 
> is automatically expanded..
>  

Just an alternative suggestion :

  Using a Vector layer with a SelectFeature control with hover:true + 
add unique values to your 'default' style of the layer to have your 
small 20x20 images used as icons for your features + register a 
"featureselected" event to display a popup with the original image.

Does this make sense ?

Alexandre

> can i do this with openlayers?
>  
> RG
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Users mailing list