[OpenLayers-Users] Curved line over a polygon?

Andreas Hocevar ahocevar at opengeo.org
Mon Mar 16 08:01:55 EDT 2009


On Thu, Mar 5, 2009 at 8:29 PM, SebastienLachance
<sebastien.lachance at gmail.com> wrote:
>
> I am using OpenLayers to allow users to place a four-points polygon over an
> image layer. Lately, the client want to add a line over the feature like
> this :
>
> http://farm4.static.flickr.com/3555/3330714055_8bd9cfb58e.jpg?v=0
> http://farm4.static.flickr.com/3555/3330714055_8bd9cfb58e.jpg?v=0
>
> When the polygon's corners are moved, the line must follow (like they were
> attached to each side. Is there a way to achieve this? Or is it just plain
> impossible?

I wouldn't say it's impossible at all, but it's impossible in
OpenLayers. This is something I'd recommend doing on the server.

Regards,
Andreas.

>
> --
> View this message in context: http://n2.nabble.com/Curved-line-over-a-polygon--tp2431606p2431606.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.



More information about the Users mailing list