Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 3254

Use this tag when you are using the DEPRECATED version 2.x of the OpenLayers JavaScript client toolkit.

4 votes
2 answers
3k views

OpenLayers Zoom on map single-click

I am trying to zoom into a location on a single click. How can I zoom towards the point on single click? I have tried using OpenLayers.Control.ZoomIn and adding a click handler, but for some reason …
Nate's user avatar
  • 811
4 votes

How to use geoserver to display data on hosted website

How are you getting your layer with openlayers? If you are passing the url as "localhost:8181/geoserver" javascript won't find it because JavaScript works on the client side. Also, JavaScript can on …
Nate's user avatar
  • 811
2 votes
1 answer
4k views

WMS GetFeatureInfo request returns nothing with GeoServer

I'm having trouble with a select feature example in GeoServer and OpenLayers. For some reason the request returns nothing. Here's the stripped down version that produces this: I have a small WMS lay …
Nate's user avatar
  • 811
9 votes
2 answers
3k views

Whats better for selecting? WMS or WFS

I need to select from a layer(s) and I am wondering what way I should serve the layer. The requirements are that I need to be able to select multiple features at a time by drawing a box or polygon. T …
Nate's user avatar
  • 811