Re: [OpenMap Users] Problem with decorated OMPoly

From: Piotr Kamiński <>
Date: Wed, 11 Jan 2006 20:21:10 +0100

Hi Don,

I will appreciate if someone fix this bug for me.

I have also some other minor problems with decorations. We've made
decorated version of almost every OMGraphic class, including OMCircle.
When decoration pattern is big and circle radius is small what you get
is more like polygon than circle (see attached pictures). Picture 2 and
4 would appear much better if I could define pattern (dot or two lines)
and distance between those patterns. Now pattern includes dot and
fragment of lines as you can see.
(The same problem as for circle is for splines.)

I expect that solving those problems might change API but in my opinion
it is worth doing.

Don Dietrick napisał(a):
> Hi Piotr,
> I added a bug report in Bugzilla for this.
> Thanks,
> Don
> On Jan 10, 2006, at 6:10 PM, Piotr Kamiński wrote:
>> Hi Don,
>> With my last project I have to create OMPolys with decorations. In  
>> general it works fine but there are strange behaviors near the  corners.
>> It is especially visible with acute angles (see attached picture)  and 
>> when decoration pattern is longer one. At the picture I draw  yellow 
>> line which I expect to see instead empty place near corners.  Maybe 
>> decorated lines and decoration pattern should support  something like 
>> ComplementPattern which might be used if distance to  corner is 
>> shorter than size of the pattern. In most cases simple  extension of 
>> line would be sufficient.
>> I used decorated poly to draw special areas (e.g. anchorage). Such  
>> deformation caused by decoration changes the overall shape of those  
>> areas. It is not appropriate.
>> -- 
>> Piotr
>> <decoratedOMPoly.PNG>

[To unsubscribe to this list send an email to ""
with the following text in the BODY of the message "unsubscribe openmap-users"]

(image/png attachment: ex2.PNG)

(image/png attachment: ex3.PNG)

(image/png attachment: ex4.PNG)

(image/png attachment: ex1.PNG)

Received on Wed Jan 11 2006 - 14:22:35 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT