This project has moved and is read-only. For the latest updates, please go here.

Repeating Symbols at each number of pixels

Topics: SharpMap Project
Dec 12, 2011 at 1:40 PM

Hi everybody,

i want to draw an image every 60 pixels on map ? for example i'm drawing a lineString object i need to draw an image to notify the direction like small arraw image.

i've done with drawin and rending image but i want to draw it every amount of pixel or ditance .

what is the best way to implement  it ?



Dec 15, 2011 at 5:42 AM

Hi Grerard_ju,

There are two methods for your need. Please view at :


Dec 15, 2011 at 8:59 AM

trieuvy  , thanx , that works...

I notice the labels in the attached file that took my attention ... how to make such labeling mechanism ?

and about how to  merge and smoothing roads like the attached file ... i mean to look like ther is no intersection between roads.

sorry but i'm new in this ..





Dec 16, 2011 at 7:41 AM


- Labeling like that. You can see here:

- Smoothing roads use:

roadStyle.Line.EndCap = LineCap.Round;
roadStyle.Line.StartCap = LineCap.Round;
roadStyle.Line.LineJoin = LineJoin.Round;
roadStyle.Outline.EndCap = LineCap.Round;
roadStyle.Outline.StartCap = LineCap.Round;
roadStyle.Outline.LineJoin = LineJoin.Round;

May be help you