Hi, yea thats how I was doing it before openlayers. But there will be a different angle for each line. I`m not sure if the stylemap works programaticaly.
regards, Imran On Tue, Jun 29, 2010 at 1:18 PM, Sveen Atle Frenvik (Geomatikk IKT) < [email protected]> wrote: > Another thing you could do is making a point feature at the end of your > line (or line segment), calculate the angle of the line(segment) and then > add an external graphic to the point and rotate it according to the angle.. > > did that make sense? > > -a > > > On 06/29/2010 10:09 AM, Imran Rajjad wrote: > > Hi, > > thanks for the link. Though I need to draw arrows on an OpenLayers vector > layer , is it possible if I import that sld from the link to openlayers > style map.because I`m drawing some patterns and I need to show the > orientation aswell.Before using openlayers I was able to do that using > native javascript and some drawing library. > > regards. > Imran > > On Tue, Jun 29, 2010 at 1:05 PM, Kris Geusebroek <[email protected]>wrote: > >> Hi, >> >> I don't know which server you use but on the geoserver blog there was an >> explanation about this. >> >> http://blog.geoserver.org/2009/04/02/follow-the-arrows/ >> >> Cheers Kris >> Met vriendelijke groet, Kind regards, >> * * >> *Kristiaan Geusebroek* >> Consultant** >> * * >> >> >> * >> * >> Email: [email protected]** >> Tel: +31 (0)35 538 1921 >> Fax: +31 (0)35 538 1922 >> Mobiel: +31 (0)6 3069 7223** >> * * >> Utrechtseweg 49 >> 1213 TL Hilversum >> The Netherlands >> http://www.xebia.com >> >> Xebia Blog: http://blog.xebia.com/ >> Xebia Podcast: http://podcast.xebia.com/ >> >> >> On Jun 29, 2010, at 9:44 AM, Imran Rajjad wrote: >> >> Hi list, >> >> is it possible to add an arrow which indicates the direction of a >> linear feature or line segment. Or is there anyother way to show the >> direction of a line feature? >> >> regards, >> Imran >> >> -- >> I.R >> _______________________________________________ >> Users mailing list >> [email protected] >> http://openlayers.org/mailman/listinfo/users >> >> >> > > > -- > I.R > > > _______________________________________________ > Users mailing > [email protected]http://openlayers.org/mailman/listinfo/users > > > > -- > Atle Frenvik Sveen > Utvikler > Geomatikk IKT AS > tlf: 45 27 86 [email protected] > > -- I.R
<<ATT5389986.png>>
<<ATT5389984.jpg>>
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
