[OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Damien Lécole
Hi list, I have a map in EPSG:4326. I would like the coordinates displayed by my Control.MousePosition in EPSG:27582. So I am using Proj4js and I have written the following code : var pop = new OpenLayers.Projection('EPSG:4326'); var dpop = new OpenLayers.Projection('EPSG:27582'); var extent =

[OpenLayers-Users] Problems with WFS marker override object

2008-06-20 Thread David Martinez Morata
Hi List! I'm new in OpenLayers and JavaScript :S! I'm creating a web aplication with OpenLayers and I have two problems. 1. Why my html page don't work in InternetExplorer 6 ? 2. I need to show a pop up window with elemnts of a wfs layer and I try to override the

[OpenLayers-Users] Style, Rule and Comparison

2008-06-20 Thread Gwennaël matot
Hi list ! I'd like some clarification on the use of the Comparison class. I have many feature defined with GeoJSON. I want to change style of feature according to an attribute nb_voyage. Here a part of my test : /* DATA */ var waypoints = { type: FeatureCollection, features:

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Gilles Bassière
Hi Damien, Have you tried setting the displayProjection in the MousePosition control instead? Something like : var extent = new OpenLayers.Bounds(-5,40,8,52 ); var options = {theme: null, maxResolution:'auto', maxExtent: extent, numZoomLevels:12, controls:[], projection: 'EPSG:4326',

Re: [OpenLayers-Users] Style, Rule and Comparison

2008-06-20 Thread Pierre GIRAUD
Stupid question but, shouldn't this look like ? var ruleLow = new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.LESS_THAN, property: nb_voyage, value: 15, symbolizer: {strokeColor: #FF } }); var ruleLow = new OpenLayers.Rule({

Re: [OpenLayers-Users] Style, Rule and Comparison

2008-06-20 Thread Gwennaël matot
Shame on me, it's working ! Thanks Pierre ! Gwennaël Matot Stupid question but, shouldn't this look like ? var ruleLow = new OpenLayers.Filter.Comparison({ type: OpenLayers.Filter.Comparison.LESS_THAN, property: nb_voyage, value: 15, symbolizer:

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Pierre GIRAUD
This is the code working for me. html xmlns=http://www.w3.org/1999/xhtml; head link rel=stylesheet href=../theme/default/style.css type=text/css / link rel=stylesheet href=style.css type=text/css / style type=text/css .olControlAttribution { bottom: 0px!important }

Re: [OpenLayers-Users] Proj4js and IE

2008-06-20 Thread Damien Lécole
Hi Gilles, I have tried your solution (and a lot of others permutation) but it doesn't work yet. The code gaven by Pierre is working on my computer. So that's a programming issue... I will try to add some functionalities to the code of Pierre and to replace his data with mines. Thanks for

Re: [OpenLayers-Users] How to extract attributes on layer load ?

2008-06-20 Thread Eric Lemoine
Hi. Use OpenLayers.Layer.WFS to get from some WFS service the features that the current extent contains. If the map is moved the layer will fetch and display new features. The WFS layer object includes a feature array, each feature in this array has a property named attributes which is an object

[OpenLayers-Users] OPENLAYERS AND ARCIMS

2008-06-20 Thread Xavier Rayo
HI ALL, is there any way to load arcims services with openlayers. I want to add a password to my layers and i don't know how to do it (and if it is possible) with mapserver, so i can do it with arcims, but i don't know how to add arcims layers into openlayers, thanks in advanced! xavi

Re: [OpenLayers-Users] Draw features one by one in IE?

2008-06-20 Thread Zer
Hi! I have also seen this when trying to add a progress bar inside the loop. Nothing was drawn on then map until the loop was finished, and the prgogress bara was never updated. Sorry to say, but I never found a solution to this -Z realjax wrote: Hi, Since drawing rotated features