ThinkGeo.com    |     Documentation    |     Premium Support

Drawing feature - custom line style

Hello,


I would like to know if it is possible to customize the style of a line on the map.

I've seen the existing styles, and the CreteNewSimpleLine() mehod, but I would like something a bit special :


When drawing a line, I would like to have something that indicates clearly when the line begins and ends.

For exemple you can see what I would like to have in the following picture : roger.speranza.free.fr/images5/division_segment24.gif


Thanks,

Guillaume.



Guillaume,


Thanks for your post and questions.
 
Unfortunately, I cannot see the picture from the website you provided because I could not open it.
 
About the creation of customized style, I think it is possible and common to create some compound or intersection results, for example, create several line styles and group them together into one.
 
While from the description, it seems that the style you desired will make some difference between begins and ends, using line style is very hard. As far as I know, we use some special way for example one way arrow to mark the road like following way:
code.thinkgeo.com/projects/show/onewaystreets
 
Any more questions just feel free to let me know.
 
Thanks.
 
Yale