[mapguide-users] multiple extent attributes on a layer

Andy Morsell amorsell at spatialgis.com
Wed Mar 15 14:30:29 EST 2006


In the "URL activated for feature" area of the layer definition,  go into
the Text Expression and build an expression like you would for a Tool tip.
An example when viewed using the Advanced option is:

concat('http://www.spokanecounty.org/pubpadal/search.aspx?Identify=pubmaps&a
mp;txtSelParcel=', PID)

Note that I have to use & instead of & in my string.  If you use just &,
the entire tooltip will not display (at least with the .NET web extensions).
This may be considered a bug, but I'm not sure.


Andy Morsell, P.E.
Spatial Integrators, Inc.
http://www.SpatialGIS.com

-----Original Message-----
From: Eric Brown [mailto:ericbrown at netxn.com] 
Sent: Wednesday, March 15, 2006 11:15 AM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] multiple extent attributes on a layer

That works... go figure - I'm too used to laying in the data by hand (Map
file).

That's much better.

Another question - how would I link off to an url when a feature is
selected?  The documentation indicates that it can be done, but the syntax
is missing.

-- Eric

----- Original Message -----
From: "Traian Stanev" <traian.stanev at autodesk.com>
To: <users at mapguide.osgeo.org>
Sent: Wednesday, March 15, 2006 10:36 AM
Subject: RE: [mapguide-users] multiple extent attributes on a layer



Hi Eric,

You are not actually theming on the attribute. From the screenshot it
looks like you created overlapping scale ranges with a different style
for each scale range. What you want to do is set different attribute
themes in a single scale range in the lower dialog (where the "Theme..."
button is). See the attached screenshot for an example.

Traian


-----Original Message-----
From: Eric Brown [mailto:ericbrown at netxn.com]
Sent: Wednesday, March 15, 2006 12:58 PM
To: users at mapguide.osgeo.org
Subject: Re: [mapguide-users] multiple extent attributes on a layer

Kori,

Here's a picture of my layer - I've described 4 separate extents.

0-22000 is all roads (except Highways and Ramps)
0-44000 is  Arteries (Class = 'A')
0-infinity is Class='H' in yellow - highways
0-infinity is Class='R' in orange - ramps

And - no - once you get down to 22000 - the Highways and Ramps and
Arteries
stop displaying.

Please advise,

-- Eric





----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
> For additional commands, e-mail: users-help at mapguide.osgeo.org 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at mapguide.osgeo.org
For additional commands, e-mail: users-help at mapguide.osgeo.org








More information about the Mapguide-users mailing list