[ZS0] [mapguide-users] drawing customized markers on the fly
Kenneth, GEOGRAF A/S
ks at geograf.dk
Thu Feb 28 05:08:32 EST 2008
Yes, it is possible, but a few steps are involved:
1. Create a temporary featuresource
2. Create a temporary layer to display the features
3. Insert the temporary layer into the runtime map
The buffer files in the MapGuide viewer has template code for all three
steps.
All steps are explained in the Developer Guide (PDF version at least).
The icon and url are columns in the feature source, and you can select
them when you insert the marker.
Regards, Kenneth, GEOGRAF A/S
Kencana skrev:
> Hi All,
>
> I've been trying to this for quite some time. Is that possible for us to
> create multiple markers with different icon and url source (displayed under
> tooltip) in one single php function (one layer) on the fly?
> Let's say there are 3 marker, what i want to do is i want to place 3
> different marker on the fly.
> I've been posting this issue in previous post but it seems there is no
> solution given yet.
>
> Regards,
> Kencana
>
More information about the mapguide-users
mailing list