[mapguide-users] FW: Problems while labeling polylines

Traian Stanev traian.stanev at autodesk.com
Mon Dec 31 08:40:49 EST 2007


Yes, that's what it looks like without the code that detects the composite line style. The code has been there for a long time (since release 1 in both open source and MGE) so I am not sure why it is not working in your case. Using two layers is equivalent functionality though, even in terms of performance. I'll check to make sure the code is still working in the latest build.

Traian

________________________________________
From: mapguide-users-bounces at lists.osgeo.org [mapguide-users-bounces at lists.osgeo.org] On Behalf Of Maksim Sestic [max at geoinova.com]
Sent: Monday, December 31, 2007 3:57 AM
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] FW: Problems while labeling polylines

Hi Trajan,

I'm using MGE 2008 and I couldn't get proper endcaps using single road layer
with composite linestyle. Please see attached example. I guess MGOS stitches
them right?

Regards,
Maksim Sestic


Traian Stanev wrote:
>
> For your item 3:
> ============
> 3) To get it looking GoogleMaps-alike, you'll have to use at least two
> separate layers: one for borders, the other (one pixel narrower, above it)
> for continuous fill. In my case, both of them are stored in base layer
> group.
> =============
>
> You do not need to use separate layers to achieve this style. You can use
> a composite line style, consisting of two thick lines (one 2 pixels
> thicker than the other) to achieve the same effect. MapGuide has code to
> detect this situation and automatically render so that the result looks
> the same as what you have on the picture.
>
>

http://www.nabble.com/file/p14555491/BAD_ENDCAPS.jpg
--
View this message in context: http://www.nabble.com/FW%3A-Problems-while-labeling-polylines-tp14525210s16610p14555491.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list