[OpenLayers-Users] How can I assign different map centers for different map layers ?

2007-11-13 Thread HarryS
Hello, I have a map with 2 different map layers . The 2 map layers have different extents, e.g. one map layer is an Africa map and the other layer is an Australia map. When the client toggles between these layers the maps shall always center to predefined locations (e.g. (20,15) for Africa and

Re: [OpenLayers-Users] Problem with NASA Terra WMS-Service

2007-11-08 Thread HarryS
Thanks Dara - that works ! Harry Dara Dowd wrote: You can do var terra = new OpenLayers.Layer.WMS( Terra Images, http://wms.jpl.nasa.gov/wms.cgi?;, {layers: 'daily_terra'} ); terra.setTileSize(new OpenLayers.Size(512,512)); Dara HarryS wrote

[OpenLayers-Users] Virtual Earth layers do not work with Opera or Safari

2007-11-06 Thread HarryS
I tried the demo-map in examples-folder spherical-mercator.html which uses VE-layers. spherical-mercator.html works with IE7 and Firefox but not on Opera/Safari. I also tried other OpenLayers-scripts but whenever I try to add VE-layers I can't get it to work with Opera/Safari. Has anyone an idea

[OpenLayers-Users] Problem with NASA Terra WMS-Service

2007-11-06 Thread HarryS
I have a problem with this layer: var terra = new OpenLayers.Layer.WMS( Terra Images, http://wms.jpl.nasa.gov/wms.cgi?;, {layers: 'daily_terra'} ); It worked a while but meanwhile the JPL-Server returns an Error-message: ?xml version='1.0' encoding=UTF-8 standalone=no

Re: [OpenLayers-Users] Problem with NASA Terra WMS-Service

2007-11-06 Thread HarryS
? Thanks ! Harry HarryS wrote: I have a problem with this layer: var terra = new OpenLayers.Layer.WMS( Terra Images, http://wms.jpl.nasa.gov/wms.cgi?;, {layers: 'daily_terra'} ); It worked a while but meanwhile the JPL-Server returns an Error-message: ?xml version

[OpenLayers-Users] Need a search function for Open Layers

2007-08-16 Thread HarryS
Hello list, are there any scripts for a search function in OpenLayers (e.g. like the search in KaMap) ? I have a PostGIS-placename-database with a Mapserver mapfile that I use in my KaMap app for queries. Now I want to use OpenLayers. Has anybody already a solution that I can use ? The only