[GeoNetwork-users] Map viewer extent

Hi

I'm trying to configure the map so that when it is opened, its extent is set
to a specific location instead of the global perspective right away. Still
Figuring my way around GN, is mapService.js the file I'm looking for to
change?
Any help on this would be much appreciated
Thanks
Kevin

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Map-viewer-extent-tp5325236.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

Hi

By default GeoNetwork uses this context file:
WEB-INF/data/data/resources/map/config-viewer.xml (if you're using an
external data directory, should be taken from that path instead of previous
one).

The context file has a ows:BoundingBox, that should be used to define the
initial extent I guess, but at the same time I see this in config.js:
https://github.com/geonetwork/core-geonetwork/blob/3.2.x/web-ui/src/main/resources/catalog/views/default/config.js#L110-L111

Not really sure if both are applied, please check to change the values in
config.js first to check if that works fine.

Regards,
Jose García

On Thu, Jun 22, 2017 at 7:49 PM, Durkee <kevin_durkee@anonymised.com> wrote:

Hi

I'm trying to configure the map so that when it is opened, its extent is
set
to a specific location instead of the global perspective right away. Still
Figuring my way around GN, is mapService.js the file I'm looking for to
change?
Any help on this would be much appreciated
Thanks
Kevin

--
View this message in context: http://osgeo-org.1560.x6.
nabble.com/Map-viewer-extent-tp5325236.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/
projects/geonetwork

--

*Vriendelijke groeten / Kind regards,Jose García
<http://www.geocat.net/&gt;Veenderweg 136721 WD BennekomThe NetherlandsT: +31
(0)318 416664 <+31318416664> <https://www.facebook.com/geocatbv&gt;
<https://twitter.com/geocat_bv&gt;
<https://plus.google.com/u/1/+GeocatNetbv/posts&gt;Please consider the
environment before printing this email.*

Config.js did the trick. Thanks Jose!
Kevin

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Map-viewer-extent-tp5325236p5325371.html
Sent from the GeoNetwork users mailing list archive at Nabble.com.