[mapserver-users] Simple Question: using HTML templates with OpenLayers?

Lime, Steve D (DNR) steve.lime at state.mn.us
Fri Jun 24 15:52:27 EDT 2011


I use queries and templates to:


-          The obvious one, answer selection queries (by box, point or shape). Typically this is in response to hover, click or draw OL controls.

-          Create data to be displayed as vector features (e.g. return GeoJSON or KML). Typically this is done as part of application initialization.

Those are the biggies.

Here's an example OL site (with ExtJS) that uses MapServer queries extensively to feed data back to the application...

  http://www.dnr.state.mn.us/waters/csg/index.html

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Saka Royban
Sent: Friday, June 24, 2011 12:27 AM
To: MapServer
Subject: Re: [mapserver-users] Simple Question: using HTML templates with OpenLayers?

Thanks a lot Steve
so informative. however, Could u guide me to some of possible needs of query templates when using openlayers?

________________________________
From: "Lime, Steve D (DNR)" <steve.lime at state.mn.us>
To: Saka Royban <sakaroyban at yahoo.com>; MapServer <mapserver-users at lists.osgeo.org>
Sent: Fri, June 24, 2011 9:41:41 AM
Subject: RE: [mapserver-users] Simple Question: using HTML templates with OpenLayers?

Browse templates are pretty much useless with OpenLayers. Query templates, on the other hand, are very useful for a number of things w/OpenLayers.

Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>] On Behalf Of Saka Royban [sakaroyban at yahoo.com<mailto:sakaroyban at yahoo.com>]
Sent: Thursday, June 23, 2011 11:57 PM
To: MapServer
Subject: [mapserver-users] Simple Question: using HTML templates with  OpenLayers?

Hi all
I have a nearly beginner question. Is there any usage for using HTML templates with OpenLayers? i.e. Why and in which case w may need templating while we use openlayers as a viewer?

(the reason is that before starting openlayers, i was working with templates. and now it sounds to me that openlayers completely overrides templates, in use.)

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110624/b72a6541/attachment-0001.html


More information about the mapserver-users mailing list