Well I figured it out , instead of adding a line, add a collection of
geometry having a line and point.. set the shape of point to traigle
and calculate the rotation using simple atan(dy/dx). I will share the
code on Monday with you

regards,
Imran

On Fri, Oct 1, 2010 at 2:19 PM, Gagan Bansal <[email protected]> wrote:
>
> Hi,
>
> I was also looking for this feature, i.e. showing the line direction. So
> based on Sveen suggestion I have written this example
>
> http://gaganb.wordpress.com/2010/09/30/draw-line-direction-on-openlayers-feature/
>
> Regards,
> Gagan
> --
> View this message in context: 
> http://osgeo-org.1803224.n2.nabble.com/add-an-arrow-to-line-feature-tp5234002p5590646.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>



-- 
I.R
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to