Hi, On 7/8/07, Al Byers <[EMAIL PROTECTED]> wrote: > I am using the OpenLayers integration from the sandbox. I would like to > place a custom image at each point, but I don't see away to do it except to > extend the SVG class.
This has already be done. Look at the shipTracks demo of ol-integration (mapbuilder/demo/shipTracks). The image can be set using the externalGraphic sld style property, as found in mapbuilder/demo/shipTracks/features.sld. The code for rendering images is not yet in OpenLayers trunk, but the OpenLayers library used for Mapbuilder is patched with it (mapbuilder/util/openlayers/externalGraphic.diff). The only thing that is not ready yet is to render every feature with a unique image. This is planned to do with a SLD based fidFilter, but I had no time to implement it. If you are willing to help out here, I can give you more details on how it could be done. It should not be too much work, and it is all in Mapbuilder - no need to change SVG/VML renderers in OpenLayers. Regards, Andreas. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
