[OpenLayers-Users] Polygon feature background

Wladimir Szczerban bolosig at gmail.com
Fri Mar 4 08:23:42 EST 2011


Hi,

Is it possible to have an image as a background of the polygon feature? What
i'm looking for is instead of having a fill color for polygon feature a
image that would be stretched to fit the polygon completely.

The idea is to georeference an image using a polygon, I've tried using a
point and using the externalgraphic as shown in this example
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL27/examples/ExternalGraphicOverlay/ExternalGraphicOverlay.aspbut
I have problems to calculate the image resolutions and the image don't
fit in my polygon.

Thanks,

Bolo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20110304/56186882/attachment.html


More information about the Users mailing list