Hi Santiago,

You can change the coordinates that the map is set to by default, with the vars:

map.defaultLatitude = 12.3
map.defaultLongitude = -43.5
map.defaultZoom = 12

You should also check the value of:

map.zoomOutsideScopedRegion = true // show full extent of records 

The default value for the generic-hub is 'true' , which will show the full "extent" of records (i.e. map zooms to show all records for a given search). If you change it to false, then the map will not zoom out any further than the values I mentioned above.

Regards

Nick
-- 
Nick dos Remedios
Software Developer




On 1 Sep 2014, at 2:30 am, Santiago Martinez de la Riva <sama@gbif.es> wrote:

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@gbif.es
28014 Madrid, Spain                                 www.gbif.es
<image1.png>_______________________________________________
Ala-portal mailing list
Ala-portal@lists.gbif.org
http://lists.gbif.org/mailman/listinfo/ala-portal