[Qgis-user] QGIS Web Client - QWC Issues loading map (server loads fine)
Bernhard Ströbl
bernhard.stroebl at jena.de
Thu Jul 10 02:18:56 PDT 2014
Hi Carlos,
a lot has changed in QWC since december, however I would compare your
old GlobalOptions.js with the new one, especially in the MapOptions and
LayerOptions sections.
Hm, when looking at your GetProjectSettings response the bbox for the
layer is different from where the layer is located in QWC (reading the
mouse coordinates) maybe there is something wrong in that respect?
Get ProjectSettings:
<westBoundLongitude>-133.705</westBoundLongitude><eastBoundLongitude>-115.05</eastBoundLongitude><southBoundLatitude>48.3146</southBoundLatitude><northBoundLatitude>59.9384</northBoundLatitude>
Mouse position is -93/39
The center of your map is 0/0, and covers -180 to 180 left to right and
130 to -130 top to bottom which seems to be the whole world
maybe you should set the map's maxExtent [1] to focus on your region of
interest
Bernhard
[1]
http://dev.openlayers.org/releases/OpenLayers-2.10/doc/apidocs/files/OpenLayers/Map-js.html#OpenLayers.Map.maxExtent
Am 10.07.2014 09:59, schrieb Carlos da Ponte:
> Thanks for the guidance Bernhard! I totally missed that setting when I was
> going through the setup. I'll be sure to review the openlayers api docs.
>
> Unfortunately, changing it did not solve my issue, and I would have figured
> that the coordinate issue (with Lat changing when panning left - right)
> would have been resolved with that fix. I'm surprised I'm having such
> issues because I was just doing an update for the web client and server from
> a version we installed in December that worked with 4326 without issue.
>
> I would really appreciate any additional guidance anyone might have.
> Thanks!
> Carlos
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Web-Client-QWC-Issues-loading-map-server-loads-fine-tp5150233p5150420.html
> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
> __________ Information from ESET Mail Security, version of virus signature database 10073 (20140710) __________
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
__________ Information from ESET Mail Security, version of virus signature database 10074 (20140710) __________
The message was checked by ESET Mail Security.
http://www.eset.com
More information about the Qgis-user
mailing list