[Ala-portal] map initial position

Daniel Lins daniel.lins at gmail.com
Sun Aug 31 21:40:52 CEST 2014


Hi Santi,

To configure the default location of your map components you need to
include the settings below in your hub config file (e.g.
/data/generic-hub/config/generic-hub-config.properties):


*# Shapefile Search and Occurrence List page*

*map.defaultLatitude =-10.183056*

*map.defaultLongitude =-48.333611*

*map.defaultZoom =4*

*# Explore Your Area page*

*exploreYourArea.lat=-10.183056*
*exploreYourArea.lng=-48.333611*


* These values are related to Brazil.

Hope it helps,

Cheers.


-- 
Daniel Lins da Silva
(Mobile) 55 11 96144-4050
Research Center on Biodiversity and Computing (Biocomp)
University of Sao Paulo, Brazil
daniellins at usp.br
daniel.lins at gmail.com




2014-08-31 13:30 GMT-03:00 Santiago Martinez de la Riva <sama at gbif.es>:

> Hi all,
> How can I do to centre the maps in SPAIN and not in Australia?
>
> For Example: the map that is shown in the search by shapefile. (Image1)
>
> Thanks.
> Kind Regards
> SaMa.
>
>
>
> ---------------------------------------------------------------------------------------
> Santiago Martínez de la Riva
> GBIF.ES, Unidad de Coordinación         Tel. +34 91 4203017 x 273
> Real Jardín Botánico - CSIC                     Fax +34 91 429 2405
> Plaza de Murillo, 2                                     sama at gbif.es
> 28014 Madrid, Spain                                 www.gbif.es
>
> _______________________________________________
> Ala-portal mailing list
> Ala-portal at lists.gbif.org
> http://lists.gbif.org/mailman/listinfo/ala-portal
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.gbif.org/pipermail/ala-portal/attachments/20140831/06a470a3/attachment.html 


More information about the Ala-portal mailing list