[mapguide-users] Workaround for multiline Feature Label

Nimrod Cnaan nimcnaan at hotmail.com
Sat Jan 29 07:20:04 EST 2011


Sulotion:
For those of you who have difficulty in creating Multyline Feature Lable, the solution on version of OS2.1 / E2010:
Concat ('Autogenterated_SDF_ID:', Concat (Autogenerated_SDF_ID, Concat ('\ n', Concat ('Name:', NAME))))

& Do not forget to select the Multyline option - at the top of lable design form.


From: nimcnaan at hotmail.com
To: mapguide-users at lists.osgeo.org
Subject: RE: [mapguide-users] Workaround for multiline Feature Label
Date: Sun, 16 Jan 2011 16:17:02 +0200




The double q didn't work.
I'm rely despret. I remember that there was a workaround in the erlier versions.
I was hoping that there is one for v2.1
 
any help 
 
this expression dasn't work in v2.1
Concat ( 'L:',  Concat (  CALC_LENGT ,  Concat ( '\n',  Concat ( 'D:', MEASURE   )   )   )   )

It returns the following Feature lable:
<<L: 22.33 \n D: 250>>
 
Nimrod,
 
 
> Date: Thu, 13 Jan 2011 00:45:38 +1100
> Subject: Re: [mapguide-users] Workaround for multiline Feature Label
> From: zac.spitzer at gmail.com
> To: mapguide-users at lists.osgeo.org
> 
> just a hunch try double quotes?
> 
> 2011/1/13 Nimrod Cnaan <nimcnaan at hotmail.com>:
> > There was no faille, I simply got the '\n' as another Char in the expression
> > on the map (with no break line).
> > As in:
> > <<Len: 33.52 \n Diam: 200>>
> >
> > Look at the attached image
> > I'm using MGOS 2.1 on win2003 OS & .NET environment
> >
> >
> >> Date: Wed, 12 Jan 2011 22:18:52 +1100
> >> Subject: Re: [mapguide-users] Workaround for multiline Feature Label
> >> From: zac.spitzer at gmail.com
> >> To: mapguide-users at lists.osgeo.org
> >>
> >> what was the failed result?
> >> ;
> >> 2011/1/12 Nimrod Cnaan <nimcnaan at hotmail.com>:
> >> > I used this Expression with no success !
> >> >
> >> > Concat ( 'L:',  Concat (  CALC_LENGT ,  Concat ( '\n',  Concat ( 'D:',
> >> > MEASURE   )   )   )   )
> >> >
> >> > does anyone know a workaround ?
> >> >
> >> >
> >> >
> >> > Date: Sun, 9 Jan 2011 07:07:56 -0800
> >> > From: nimcnaan at Hotmail.com
> >> > To: mapguide-users at lists.osgeo.org
> >> > Subject: [mapguide-users] Workaround for multiline Feature Label
> >> >
> >> > Is there a workaround for multiline Feature Label, MGOS v2.1?
> >> >
> > & gt; > Nimrod,
> >> > --
> >> > View this message in context:
> >> >
> >> > http://osgeo-org.1803224.n2.nabble.com/Workaround-for-multiline-Feature-Label-tp5904508p5904508.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
> >> >
> >> >
> >> > _______________________________________________
> >> > mapguide-users mailing list
> >> > mapguide-users at lists.osgeo.org
> >> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Zac Spitzer
> >> Solution Architect / Director
> &g t;> Ennoble Consultancy Australia
> >> http://www.ennoble.com.au
> >> http://zacster.blogspot.com
> >> +61 405 847 168
> >> ____ ___________________________________________
> >> mapguide-users mailing list
> >> mapguide-users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >
> > _______________________________________________
> > mapguide-users mailing list
> > mapguide-users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapguide-users
> >
> >
> 
> 
> 
> -- 
> Zac Spitzer
> Solution Architect / Director
> Ennoble Consultancy Australia
> http://www.ennoble.com.au
> http://zacster.blogspot.com
> +61 405 847 168
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lis ts.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________ mapguide-users mailing list mapguide-users at lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110129/e900cd99/attachment.html


More information about the mapguide-users mailing list