[Geomoose-users] Reference map: Size and scale settings

Len Kne lkne at houstoneng.com
Wed Aug 19 16:20:03 EDT 2009


The following javascript works to change the size of the reference map.

	var referenceMapOptions = {
		size: {w:150, h:100}
	}

And then look for where ReferenceMap is created and have it use the options you defined.

	ReferenceMap = new OpenLayers.Control.OverviewMap(referenceMapOptions);

I think you can define the other options you mentioned as well, check the OpenLayers documentation.

Len

-----Original Message-----
From: CoFIS Web [mailto:coffee at uni-bonn.de] 
Sent: Wednesday, August 19, 2009 11:29 AM
To: GeoMoose Mailing list
Subject: [Geomoose-users] Reference map: Size and scale settings

Dear all,
which files do I have to work with for modifying the reference map's
- size (x,y)
- outline color and line with
- scale in relation to GM's main map window.

In GM 1.6 it was the configuration.js, but I had no luck in crawling 
through htdocs/compiled.js and htdocs/geomoose/*.

Actually, it would be nice if I was able to define the parameters in the 
mapbook.

Thanks,
Nils
-- 
Center for Development Research
Department of Ecology and Resource Management

Walter-Flex-Strasse 3
53113 Bonn (Germany)

Tel.:   +49 (0) 228 - 73-1793
FAX:    +49 (0) 228 - 73-1889

E-Mail: coffee at uni-bonn.de

Web:    http://www.cofis.info/atlas
         http://www.coffee.uni-bonn.de

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geomoose-users mailing list
Geomoose-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geomoose-users




More information about the Geomoose-users mailing list