Re: [OpenLayers-Users] Using openlayers in portlet

2008-07-10 Thread Eric Lemoine
Hi. You way want to check with FireBug's dom inspector if the tile images are added to the layer div and are visible. Eric 2008/7/10, Frédéric Therrien <[EMAIL PROTECTED]>: > > Hey everyone, I'm pretty new with openlayers and I have a question. > > For my job, I need to user openlayers to display

[OpenLayers-Users] Reprojection: Maps not lining up

2008-07-10 Thread Matthew Pettis
Hi, I am using Openlayers with Mapserver to show a shapefile of roads in MN that are in epsg:26915 and allowing users to toggle between that and Google Maps (spherical Mercator projection per http://spatialreference.org/ref/user/google-projection/). I use mapserv.exe and a .map file to reproject

Re: [OpenLayers-Users] Horizontal lines along boundaries

2008-07-10 Thread Tim Schaub
Nina Helle-Mildt wrote: > Thanks a lot for your help! Replacing the 'gutter' property solved my > problem. Good to know it worked for you. Adding the gutter property was motivated by the 'wontfix' I got on that ticket. (And, to be fair, it really is a GD issue, not a MapServer issue specifica

Re: [OpenLayers-Users] SLD file and labels

2008-07-10 Thread Tim Schaub
Hey- hcan-hcan wrote: > Hi! > > I'm using the label examples from camptocamp's sandbox (vectors-with-text). > Works just fine! Now I have started to create some themes using and SLD > xml file, the same way as in the Styled Layer Descriptor (SLD) Example. Is > there a way to get the labels work

[OpenLayers-Users] Using openlayers in portlet

2008-07-10 Thread Frédéric Therrien
Hey everyone, I'm pretty new with openlayers and I have a question. For my job, I need to user openlayers to display a map in a bea portal application (in other words, in a portlet). My jsp page is attached. If I run this page in my index.jsp, it's working fine, I see my world map and I'm prett

[OpenLayers-Users] openlayers + tilecache + resolutions

2008-07-10 Thread Wendell Turner
How does someone compute the resulutions array? As I understand it, to make openlayers work well with tilecache, the zoom levels and resolutions all need to match. Also, maxResolution: "auto" is specifically bad for this reason. Given a mosaic of geotiff images in epsg:3394 (which is in meters)

[OpenLayers-Users] Smooth transition between two Image layers

2008-07-10 Thread Jesper Larsen
Hi OpenLayers users, I have a web application serving ocean forecasts which is very similar to this one: http://ocean.dmi.dk/anim/index.uk.php Presently I am simply serving my maps as png files on a web page. This works fine but I would like to take advantage of the advanced features in OpenLaye

Re: [OpenLayers-Users] [OpenLayers-Dev] Zoom to GML-Layer after loading

2008-07-10 Thread bartvde
Probably the extent of the layer defaults to the extent of the map, so nothing happens. You can easily check this with Firebug. I see 2 options: 1) you loop over alle the features in the layer and calculate the bounds yourself 2) you look at my patch for ticket 1613 (http://trac.openlayers.org/tic

[OpenLayers-Users] Zoom to GML-Layer after loading

2008-07-10 Thread Dipl. Inf. Carsten Eider
Hi folks i want to zoom to the extent auf a GML-Layer, after it has been loaded. My idea is: 1. defining the layer, name it aLayer 2. adding a "loadend"-event to the layer 3. zooming map to maxextent() 4. within the loadend-function I say map.zoomToExtent(aLayer.getExtent()); Theo