Re: [OpenLayers-Users] How to stop registering events

2009-10-30 Thread Max Stephan
ds = featureBoundsList[bounds];} else{totalBounds.extend(featureBoundsList[bounds]);} } // zoom to the calculated bounds map.zoomToExtent(totalBounds); // register when the layer that contains the features finished loading and call the zoomToTrigger-me

Re: [OpenLayers-Users] How to stop registering events

2009-10-29 Thread Max Stephan
Hi Eric, thanks for your help but I don't get the idea what your code is doing. Could you explain it? Furthermore what is the unregister function in general exactly doing. Am I right in thinking it stops the previous defined registering of an event or is it doing something else? greet

[OpenLayers-Users] How to stop registering events

2009-10-29 Thread Max Stephan
egister-function and what the unregister-function does. Thx for your help in advance Max Stephan -- View this message in context: http://n2.nabble.com/How-to-stop-registering-events-tp3911670p3911670.html Sent from the OpenLayers Users mailing list a

Re: [OpenLayers-Users] WFS performance issue

2009-10-16 Thread Max Stephan
Hi Ivan, the first feature class contains about 70 features, the second about 40. The maximum number of features displayed at the same time is about 40 (both classes together). Greets Max Stephan > -Ursprüngliche Nachricht- > Von: Ivan Grcic [mailto:igr...@gmail.com] > Gesendet

[OpenLayers-Users] WFS performance issue

2009-10-16 Thread Max Stephan
8', extractAttributes: true }) }); In firebug I can see that there is a response containing all the features in the bbox with the right coordinates and attributes. But: Those features don´t show on the map at all. Any help is ap

Re: [OpenLayers-Users] Problem with styling vectorfeatures depending on their attributes

2009-09-17 Thread Max Stephan
ine: 625 Column: 408, invalid Argument (OpenLayer.js)" pops up. No matter what I try (defining context, parsing the attribute directly to Int in the stylemap or even when I add the attribute to the vector), the problem remains the same. greets Max Stephan Paul Spencer wrote: > >

Re: [OpenLayers-Users] Problem with styling vectorfeatures depending on their attributes

2009-09-17 Thread Max Stephan
Hi Andreas, Thank you for that hint. I already found that out to but it doesn´t help me with solving my problem. I prefer to avoid using the context because of this. Any other ideas on this? greets Max Stephan Andreas Hocevar-2 wrote: > > Max Stephan wrote: >> Hi list, &g

[OpenLayers-Users] Problem with styling vectorfeatures depending on their attributes

2009-09-17 Thread Max Stephan
o tried to parse it to an Int again directly in the styleMap .. no effect. I have to use IE for this project so no further debug information is available (I´m also not able to install IE8 with it´s debugging features due to limited admin rights at my workstation). Any idea how I could solve this probl

Re: [OpenLayers-Users] How to call a function that sets attributes for features added by drawfeature-control

2009-09-02 Thread Max Stephan
"${fillColor}". This works perfectly. Thx for your help Max Stephan Alexandre Dube wrote: > > Hi Max, > > I'm not sure about what could be the best approach. My guess would be > to define a stylemap with your default 'default' and 'select' styles for

Re: [OpenLayers-Users] How to call a function that sets attributes for features added by drawfeature-control

2009-09-01 Thread Max Stephan
layerwide stylemap is no option cause as said above the user should be able to choose color etc. independently. Greets and thx for your help Max Stephan Alexandre Dube wrote: > > Hi Max, > > Here's an old demo that could help you for some of your needs : > > http://dev4.

[OpenLayers-Users] How to call a function that sets attributes for features added by drawfeature-control

2009-09-01 Thread Max Stephan
he point-handler but don´t know how to implement it. Any ideas and help is appreciated. Thx in advance Max Stephan -- View this message in context: http://n2.nabble.com/How-to-call-a-function-that-sets-attributes-for-features-added-by-drawfeature-control-tp3559596p3559596.html Sent from the Open

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-31 Thread Max Stephan
I also noticed that it´s only working that I´ve added the VectorLayer to the map BEFORE I´m adding the features to the VectorLayer. Greets Max Stephan Max Stephan wrote: > > Hi Jerome and Heidtmare, > > I tried to add all vectorfeatures at once before because I saw that´s the &

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-31 Thread Max Stephan
e codeline clusterStrategy.activate() it works. If I don´t erase it I get the error " 'this.layer.map' is null or no object". Thx to all of you Max Stephan Jerome Freyre wrote: > > Heidtmare is right and faster than me :D > > Have a look to http://openlayers.org/dev/exam

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Max Stephan
one into the cluster strategy > (Think to not use the OpenLayers minimised but the complete source) to > see if software run into the class correctly... > > > Hope my english is quite understandable :) > > > > Jérome > > > > Le 28 août 09 à 14:01,

Re: [OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Max Stephan
Hi Jerome, thanks for your reply. I already tried that but it causes an error ("this.layer.events" is null or no object) and the map content isn´t shown. Any other ideas? Greets, Max Stephan Jerome Freyre wrote: > > Hi Max, > > Personnally, when I use Cluster Strate

[OpenLayers-Users] Cluster strategy not working

2009-08-28 Thread Max Stephan
addVector-method I have implemented that reads out the coordinates and attributes of the database for a single feature and then jumps to the next entry and repeats the procedure till all features have been added. greets and thx in advance Max Stephan -- View this message in context: http://n2.

Re: [OpenLayers-Users] Transforming from Gauß-Krü ger to UTM

2009-08-20 Thread Max Stephan
Hi Marc, thank you for the hint. I had already loaded the proj.js files via . I also have added the definition for EPSG:31468 in the proj4js-folder. The one thing I forgot is to change the folder to where those files are located. Now that I´ve done that it works. so, thx again Max Stephan

[OpenLayers-Users] Transforming from Gauß-Kr üger to UTM

2009-08-20 Thread Max Stephan
or example 4426360 E 5489583 N, the output to EPSG:900913 should be something in the area of 122 E 636 N. But when I try transforming it the result is always exactly the same as the input was. Any ideas how to solve this problem? Greets and thx in advance Max Stephan -- View this message in

Re: [OpenLayers-Users] Format WMSGetFeatureInfo response

2009-07-02 Thread Max Stephan
ication/vnd.ogc.gml'). That´s different to the standard-GeoServer-method which uses "text/HTML" as answer-format. In the setHTML-method I´m parsing that gml which gives me access to the seperate features so that I can create an individual output (for example I can read URLs from th

Re: [OpenLayers-Users] Zooming to an extend via link outside map viewport

2009-03-23 Thread Max Stephan
fine ... Thank you for the hint Max Stephan P.S.: Yes, I´m just a javascript-beginner coming from Java-programming :teeth: But I think most of the paradigms are the same in javascript as in java with the difference that Java is much more mighty. And I found a nice http://

[OpenLayers-Users] Zooming to an extend via link outside map viewport

2009-03-22 Thread Max Stephan
ntById('map').innerHTML="";" and to run the function init with the new bounds as a parameter afterwards. Does anyone know a more elegant way than reloading the complete init-function? Thx in advance Max Stephan -- View this message in context: http://n2.n

Re: [OpenLayers-Users] How can I show a picture a popup (URL for the pic should be read automatically from the attributes)

2009-02-26 Thread Max Stephan
phoneboxes in our town (Bamberg). greets Max Stephan P.S.: If you see something in the code that could cause problems feel free to let me know :) Max Stephan wrote: > > Hey, > > I was successfull getting it to work via GML. It now looks like this: > >

Re: [OpenLayers-Users] How can I show a picture a popup (URL for the pic should be read automatically from the attributes)

2009-02-05 Thread Max Stephan
ays staid "undefined" (I tried "features[feat].layerName" and "response.layerName"). Thx in advance and greets Max Stephan Ivan Grcic-2 wrote: > > Hi, > > im sorry i also dont know so much about Format.XML methods, i mostly > use Format.GML or JS

Re: [OpenLayers-Users] How can I show a picture a popup (URL for the pic should be read automatically from the attributes)

2009-02-04 Thread Max Stephan
} => OK, this is clear again, it´s simply changing the content of the to the var html which was defined in the loops before. I hope I didn´t confuse too much :thinking: and also hope you can help me. thx in advance Max Stephan Ivan Grcic-2 wrote: > > Hi, > > im sorry i als

Re: [OpenLayers-Users] How can I show a picture a popup (URL for the pic should be read automatically from the attributes)

2009-02-04 Thread Max Stephan
he content of an XML-File node by node? Or the getAttributeNS-method: What does features.documentElement (= the node) mean and why am I not able to refer to another name than 'schemalocation' (when I try url, which is an attribute in my layer it returns no result). thanks for your help Max Ste

Re: [OpenLayers-Users] How can I show a picture a popup (URL for the pic should be read automatically from the attributes)

2009-02-03 Thread Max Stephan
tly get back from this getFeatureRequest and how I can get further informations out of it... Thank you for your help Ivan and Till and thanks to everyone else in advance Max Stephan Till Adams wrote: > > Max, > > in general you need to define your output format which comes back from

[OpenLayers-Users] How can I show a picture a popup (URL for the pic should be read automatically from the attributes)

2009-02-03 Thread Max Stephan
. Greets and thanks for your help in advance Max Stephan ___ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users