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
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
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
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
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
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:
>
>
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
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
"${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
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.
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
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
&
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
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,
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
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.
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
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
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
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://
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
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:
>
>
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
}
=> 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
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
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
.
Greets and thanks for your help in advance Max Stephan
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
27 matches
Mail list logo