1,381 reputation
411
bio website
location
age
visits member for 2 years, 1 month
seen 19 hours ago

Dec
16
comment OL3 Style function
Seems to be correct; just one small notice: remove comma from end of style: customStyleFunction, since it may cause problems in some IE's
Dec
10
comment Routing ensuring all areas are touched
Do you know sequence of those blue points? If sequence is determined, then there's nothing to do with Travelling salesman problem.
Apr
16
comment Calculating distance scale factor by latitude for Mercator
Thanks, answer is really detailed!
Jan
13
comment cluster features styling (by value return of the function)
No, $ doesn't stand for jQuery in given situation; it's markup for OpenLayers and should be within quatation marks.
Nov
1
comment purpose of maxExtent?
I'd like to just point out, that there are incorrect bounds in your example - those are 10x smaller than should, check CaptDragon's answer for correct bounds for Google projection
Oct
11
comment Openlayers SelectControl add multiple Layers
Julien's answer seems to be correct. Just one comment - if you are creating all your layers at once, you can skip setLayer and use window.selectControl = new OpenLayers.Control.SelectFeature([markerLayer, newLayer]);
Oct
3
comment Own layerswitcher value not defined
You should post this as separate question. And also you should add point behind ("Einwohner") and setVisibility :)
Oct
2
comment openlayers: reading polygon attributes
Just some hints: you can use WFS service, and add filtering condition to your query. Since you're using Geoserver, you can use CQL_FILTER, something like CQL_FILTER=LME_ID=123
Aug
22
comment How do I use getinfo to get attribute information i openlayers as I click a feature
Probably most common problem with OpenLayers. As Devdatta told, you need to set up proxy. There are plenty of explanations and examples, for example: trac.osgeo.org/openlayers/wiki/…
Aug
14
comment Clustering not working on features in OpenLayers
Just a thought: add layer to map; then add features to layer
May
22
comment How to get a feature that lies closest to a point in openlayers?
What routing engine are you using? Routing data is in mySql?
Apr
15
comment Openlayers/Proj4js not transforming coordinates the first time
I have experienced same anomaly (and in several different projects) - transformation doesn't work correctly at the first place. Little timeout, execution of that command again, or any other similar hack fixes problem.
Apr
9
comment Why is mapserver layer not showing up in openlayers?
Usually Mapserver explains in plain english, what's wrong and why it doesn't give result. What to do: a) use some kind of developer tool (like FireBug) to examine, whether there are errors in Javascript b) examine WMS request, that is made by OpenLayers (Network tab in FireBug). If necessary, copy URL from FireBug and open it directly in browser. In case of error, you get error report (in XML by default, see Exceptions parameter in WMS query).
Apr
8
comment Query WMS for available layers using Openlayers
I haven't used lot of different proxys, usually it's not neccessary to define allowed remote servers in there. If proxy.cgi does require that - look for another proxy script. Beside that, there should be no problems to add user-defined WMS services dynamically.
Mar
8
comment how to change color of feature to mark it as recently modified with openlayers
It depends, how did you define feature style - attached style directly to feature, used layer styling, context functions etc. You should post some code.
Mar
5
comment OpenLayers - draw feature with style, lost after map redraw
That's correct. You have to change style of feature, then call drawFeature to update style on screen. And don't try layer.drawFeature(feature.clone());
Mar
1
comment OpenLayers + GEOExt + extjs. VS OpenLayers+jquery
Agree with BradHards. ExtJS and jQuery are completly different frameworks for completly different tasks. When you know, what your application is going to be, then it's easy to choose between them.
Feb
25
comment Calculate min distance between points in PostGIS
For point 3 - why not distance between 3 and 2?
Feb
22
comment Problem loading a GeoJSON file using Openlayers
Cross domain policy doesn't allow access to files in different host/port, you have to set up proxy. There are plenty of postings both here in stackexchange and in Google.
Feb
18
comment OpenLayers & MySQL
Did I get it correctly: query 'number of students who study at the university X and come from town Y' should display marker on each university, and marker is labeled with count of students, who come from Y?