[mapguide-users] Labelling marker on the fly

Kencana bluesky_dyx at hotmail.com
Thu Jan 31 21:12:19 EST 2008

Hi uXuf,

Thank you for the reply, have you try it by using the method you told me in
last post? is it work as expected? as I have some problem in using your

Thank you

Kencana Kesuma

uXuf wrote:
> I've also been thinking of implementing this feature but haven't really
> come around to doing it. I'd most likely try to do it by keeping a counter
> and associating this counter with the actual name of marker that is
> displayed. I'm assuming you want to do it with markers generated from a
> database.
> So it would be like:
> $properties = new MgPropertyCollection();
> $properties->Add(new MgStringProperty('Name', $counter++));
> where <strong>Name</strong> is the property that gets displayed on the map
> along the marker, the label thing. This is, of course, building upon the
> Sheboygan examples.
> Regards,
> uXuf
> Kencana wrote:
>> Hi All,
>> I have created more than 1 marker at a time (on the fly), What I need to
>> do now is labeled the marker with different number (e.g. 1, 2, 3, etc.)
>> any idea on how this can be done?
>> Thank you
>> Regards,
>> Kencana Kesuma

View this message in context: http://www.nabble.com/Labelling-marker-on-the-fly-tp15199975s16610p15219332.html
Sent from the MapGuide Users mailing list archive at Nabble.com.

More information about the mapguide-users mailing list