Hi.
New instance of 2.10.3, trying to get the HTML5ui configured. Clicking Map
in the gui if in config-gui.xml osm_map is false will result a getmap
request(singletile=true in mapviewer.wmc) with coordinates that I can't get
right, and I don't know where they come from. They are always -A -B +A +B or
-A -B 0 0 and they always result in a white canvas because they are wild.
Config-gui.xml says that if osm-map is false then HTML5ui will read the
initial layers from /geonetwork/maps/mapviewer.wmc . It does, but the
bounding box there seems to be ignored(with just one layer element).
There's an /apps/htlm5ui/js/map/Settings.js with a "config for wgs84 based
maps" defining an (global) extent. It also has a "Config for OSM based maps"
with an if osm based then global extent, if not then read mapviewer.wmc.
Additionally there's an EXTENT set in /apps/admin/js/Settings.js ("config
for wgs84 based maps").
These all seem a bit ignored, whether I try to use 900913 or 4326 in
mapviewer.wmc.
It should be noted that if "Zoom to extent" is clicked then that happens
alright. It's just the initial view that I don't know how to set.
I would /supremely/ much appreciate some hints on how to set the Html5ui map
straight when not using OSM for the background map, preferrably with 900913
but if that's more complicated then 4326 is alright.
Thanks in advance from a rather lost soul.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/2-10-3-HMTL5UI-and-initial-map-view-always-the-twilight-zone-if-osm-map-false-tp5105183.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.