[Mapserver-users] Query template - Extract: Layer Class Name

Martin, Daniel A Daniel.A.Martin at erac.com
Fri Dec 19 16:28:51 EST 2003


This is a multi-part message in MIME format.

------_=_NextPart_001_01C3C677.18D66B4E
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

[leg_class_name]
But it must be used within a [leg_class_html] block.

For example, my legend template is attached.  I think it is a good =
example of how to effectively use an html template.  It is designed to =
be used in your client within a td element, such as:

<table><TR><TD>[legend]</TD></TR></table>

-Dan


> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu=20
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of=20
> Julien, Heryk
> Sent: Friday, December 19, 2003 2:29 PM
> To: 'mapserver-users at lists.gis.umn.edu'
> Subject: [Mapserver-users] Query template - Extract: Layer Class Name
>=20
>=20
> Hi to all,
> With the object [cl]you can retrieve the current "layer name"=20
> from your mapfile and output it into your query template=20
> (http://mapserver.gis.umn.edu/doc40/template-reference.html#qu
ery). Is there a way to retrieve the "layer class name" of the object =
selected in the map so that I may insert it into may query template =
response?

Thanks
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
H=E9ryk


_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu =
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

------_=_NextPart_001_01C3C677.18D66B4E
Content-Type: text/html;
	name="checkBox_legend.html"
Content-Transfer-Encoding: base64
Content-Description: checkBox_legend.html
Content-Disposition: attachment;
	filename="checkBox_legend.html"

ICAgW2xlZ19sYXllcl9odG1sIG9wdF9mbGFnPTIgb3JkZXJfbWV0YWRhdGE9bGVnZW5kX29yZGVy
XQ0KICAgICAgICAgIFtpZiBuYW1lPWxheWVyX3N0YXR1cyBvcGVyPW5lcSB2YWx1ZT0yXQ0KICAg
ICAgICAgICA8aW5wdXQgdGl0bGU9IkNsaWNrIGhlcmUgdG8gdHVybiB0aGUgW2xlZ19sYXllcl9u
YW1lXSBsYXllciBbaWYgbmFtZT1sYXllcl9zdGF0dXMgb3Blcj1uZXEgdmFsdWU9MF1vZmZbL2lm
XVtpZiBuYW1lPWxheWVyX3N0YXR1cyBvcGVyPWVxIHZhbHVlPTBdb25bL2lmXSIgdHlwZT1jaGVj
a2JveCBuYW1lPWxheWVyIHZhbHVlPSJbbGVnX2xheWVyX25hbWVdIiBbaWYgbmFtZT1sYXllcl9z
dGF0dXMgb3Blcj1uZXEgdmFsdWU9MF1DSEVDS0VEWy9pZl0gb25DbGljaz0ic3VibWl0TWFwc2Vy
digpOyI+DQoJCQkJCVsvaWZdDQogICBbL2xlZ19sYXllcl9odG1sXQ0KDQogICBbbGVnX2NsYXNz
X2h0bWwgb3B0X2ZsYWc9Ml0JICANCgkJCQk8L1REPg0KCQkJCTxURD4NCiAgICAgICAgICAgPGlt
ZyBzcmM9IltsZWdfaWNvbl0iIGJvcmRlcj0wPg0KCQkJCTwvVEQ+DQoJCQkJPHRkPiZuYnNwOzwv
dGQ+DQoJCQkJPFREPgkgDQoJCQkJCSA8Zm9udCBmYWNlPSJhcmlhbCI+W2xlZ19jbGFzc19uYW1l
XTwvZm9udD4NCgkJCQk8L1REPg0KCQk8L1RSPg0KCQk8VFI+PFREPg0KICAgWy9sZWdfY2xhc3Nf
aHRtbF0NCg0K

------_=_NextPart_001_01C3C677.18D66B4E--



More information about the mapserver-users mailing list