[OpenLayers-Users] Projection issues
neil at asdf.co.nz
Sun Dec 28 18:48:48 EST 2008
Tried that you can see the results here;- http://dev.asdf.co.nz/index2.html
, no map at all now did I do something wrong?
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] On
Behalf Of Christopher Schmidt
Sent: Monday, 29 December 2008 12:36 p.m.
To: users at openlayers.org
Subject: Re: [OpenLayers-Users] Projection issues
On Mon, Dec 29, 2008 at 12:17:10PM +1300, Neil Fincham wrote:
> Hi All,
> I feel as if I have been hit particularly hard with the stupid stick this
> morning ;) .
> I need to make a map in epsg:2193 (NZGD2000 / New Zealand Transverse
> Mercator 2000) so I made a quick map file with a simple grid on it for
> testing purposes ( http://dev.asdf.co.nz/Grid.map ) and then test it
> the CGI
> Grid.map&mode=map ). All working so far.
> Next I through together a simple OpenLayers app to get my grid up and then
> start adding layers, that can be found here ( http://dev.asdf.co.nz/ )
> my grid has disappeared! To make things stranger I turn off all the
> (Basically a restrictExtent) and the map is still blank BUT if you click
> into in for a bit you will find lots of "globes" floating around down
> It basically comes down to my lack of knowledge about projections etc but
> can someone point me in the right direction.
try these for your mapOptions:
maxExtent: extent, // as already defined
You don't need the restrictedExtent in that case.
Users mailing list
Users at openlayers.org
More information about the Users