[Qgis-developer] QGIS MapServer and jQuery OpenLayer Client for
Mobile Devices
Noli Sicad
nsicad at gmail.com
Tue Jun 14 18:58:41 EDT 2011
Hi,
The current QGIS webclient is for PC (i.e. desktop, laptop, netbook).
I understand it is built using ExtJS, Geoexplorer hack.
http://projects.opengeo.org/geoext/wiki/GeoExplorer
http://blog.opengeo.org/2009/06/17/geoexplorer-preview/
http://suite.opengeo.org/geoexplorer/composer
I like to use QGIS Mapserver as server for Mobile Devices (i.e. iPad,
Android tablet, Meego tablet, HP WebOS tablet, etc) using jQuery, not
ExtJS (Sencha Touch) since I need local Spatialite support for these
devices.
Again, I like to use jQuery instead of ExtJS as webclient for QGIS Mapser.
Now, how can I utilise QGIS Mapserver for these mobile webclients?
Andreas, what would be the right access to WMS layer in QGIS Mapserver (WMS)?
~~~~~~~
var base = new OpenLayers.Layer.WMS(
"Medford Streets & Buildings",
"/geoserver/wms",
{layers: "medford"}
~~~~~~~~
http://workshops.opengeo.org/openlayers-intro/vector/style.html
Generic
~~~~~~~~
map = new OpenLayers.Map('map');
var wms = new OpenLayers.Layer.WMS(
"OpenLayers WMS",
"http://labs.metacarta.com/wms/vmap0",
{layers: 'basic,ground_01'}
);
~~~~~~~~
http://vasir.net/blog/openlayers/openlayers-tutorial-part-2-layers/
For example, this ZonePlan layer in http://gis.uster.ch/webgis/?
http://gis.uster.ch/webgis/production/index.shtml?map=/home/www/projekte/raumplanung/raumplanung.qgs&format=image/jpeg&visibleLayers=Gestaltungspl%C3%A4ne%20Beschriftung,Gemeindegrenze,Sondernutzungen,Sondernutzungen%20Bauzonen%20mit%20Gestaltungsplanpflicht,Differenzierte%20L%C3%A4rmempfindlichkeitsstufe,Nutzungszonen,UEP%20%282009%29
I just like to know the WMS layers, not the windowing ExtJS toolkit to
render the whole thing.
Thanks.
Noli
More information about the Qgis-developer
mailing list