[mapguide-users] Symbols rotation and colors

Rich Bauer rdbauer at gmail.com
Fri Jul 27 08:39:23 EDT 2007


Hi,

It sound like you what to use themes.   If you use Studio, then that it 
fairly easy.  Once you have the feature source and layer defined, select 
"Theme >>" under the style for the scale range and input your filter 
expression.  If you want to use only code, that is beyond me.  Hope it 
helps.

Rich

A H wrote:
> hello, i'm new here.
>
> i'm using MGOS 1.1 on ASP.net. i'm trying to build an AVL system that shows
> vehicle positions and its tracks (line). currently i managed to display one
> unit with it tracks, using the Sheboygan address and parcel samples.
>
> the problem is to display more than one unit of vehicle, and each have
> different color codes and degree of rotation (the symbol's rotation). afaik
> the layer definitions will stay after we created it? can i plot more than
> one unit with different color and rotation on the same layer?
>
> my steps to create the layer now:
>
> - create class definition
> - create feature schema
> - create feature source
>
> - load a XML templ for the content
> - create the layer
>
> - insert command to update feature (with coordinates, names etc.)
> - display layer
>
> i tried to provide color during the insert command. is it possible?
>
> if not, do i have to create different layers for each units?
>   


More information about the mapguide-users mailing list