OpenLayers is a JavaScript library for creating dynamic map widgets for web sites.

learn more… | top users | synonyms

3
votes
1answer
530 views

GeoServer - Serving html files

Encountering a Geoserver - Openlayer WFS layer not visible I found this interesting answer . Solution about html page on the server surprised me very much as I tried previously to load an html page ...
3
votes
2answers
2k views

Using PHP to create a GIS Web application

I've developed many GIS Applications using ESRI ArcGIS 9.3 and 10.0 for ASP.NET . I'm wondering if i can do a GIS application using my SHAPE files and Pure PHP scripting . I've googled for that ...
3
votes
3answers
1k views

GeoWebCache WMTS always replacing tiles in cache

I've spent the last two days trying my hand at GeoWebCache. I've had some issues and am now out the office so can't access any code to attach. I know if i don't post this it'll bug me all weekend. ...
1
vote
1answer
370 views

Offset to symbol in WMS request

Is it possible to give offset to symbol of point feature using sld in openlayers or geoserver?
2
votes
1answer
146 views

How to get higher resolution images from USGS into openlayers

Is there a way to get better resolution maps from USGS? Thanks,
4
votes
2answers
1k views

How to get “Pinching” in Openlayers working on Android?

If you go to THIS OpenLayers Mobile example on android you'll notice that "pinching" for zooming does not work. But it works for iPhone and iPad. Anyone know how i can get "pinching" to work on ...
4
votes
1answer
2k views

GeoServer 101 : how to find the URL of a layer?

I'm a total n00b with GeoServer. I've installed it and have loaded a sample shapefile, which I can view using the Layer Preview option. Now I want to add this shapefile (as a WMS layer) to a simple ...
3
votes
1answer
976 views

How to access USGS national map viewer?

I know that I can use arcGIS to display the USGS national map viewer (aerial, raster, topographical, etc), but I will be using API for commercial use and it would cost $4,000. 1) Can I use openlayers ...
4
votes
3answers
529 views

WFS Caching / Back button

I'm using WFS protocol on Vector layer / GeoServer / PostGIS Currently the map is refreshing and calling new requests whenever i do anything like searching or drawing and when i move back to a part ...
1
vote
0answers
1k views

OpenLayers Popup Anchored Offset Problem

I have an animation where I move a point along a line. At certain spots of that line I open a popup to show a picture. I want the popup to be centered on the point. It seems to work for some points ...
0
votes
2answers
1k views

How to get address coordinates from OSM?

I've got an osm file containing the city I live in. Now I've got a tool to render and display it in the browser (mapnik+postgis+tilecache+openlayers+geoext) and the task is to make an address search. ...
0
votes
1answer
213 views

identifying single overlaping features from a GeoServer layer

I'm trying to use GeoServer to display features from a PostGis table the url will look similar to this. Example URL ...
1
vote
2answers
3k views

How to initialize a WFS Layer?

Here is the code block (the layers are stored in Oracle database): var saveStrategy = new OpenLayers.Strategy.Save(); var adresspt_wfs = new OpenLayers.Layer.Vector("Address points WFS", ...
0
votes
1answer
875 views

MapServer WMS not configured properly?

This is related to another question I asked just recently: Use OpenLayers WMSGetFeatureInfo on Mapserver Layer? unicoletti indicated that he/she was able to use OpenLayer's WMS Layer declaration to ...
3
votes
2answers
5k views

Use OpenLayers WMSGetFeatureInfo on Mapserver Layer?

I'm able to use OpenLayers' OpenLayers.Layer.Mapserver declaration to generate a raster from GRIB data. I've read in the MapServer docs and on forums that it should be possible to get point ...
3
votes
1answer
1k views

Implementation of a tiled map service

I have been looking for solutions on the Internet for the last two days without finding answers. Currently, I have a Java web application that displays a map using OpenLayers. The problem is that the ...
3
votes
2answers
910 views

OpenLayers with Google, Bing & MapQuest - Does it violate the terms of service?

to my understanding, you are not allowed to use the Google Maps API to display Google and Bing maps (Layer Toggle) (From the terms of service). However, I'm unclear if I can have an OpenLayers map ...
2
votes
1answer
914 views

How to unproject coordinates on a Google map with Openlayers?

Below is my code and a pic. When I finish making my circle on a Google map with Openlayers, I get the following coordinates but I want coordinates like E.G: bottom: -27.762124575762 left: ...
2
votes
1answer
1k views

Adding a marker with openlayers/geoserver

My name's Tony. I'm from vietnam. I want to add a marker in webgis with openlayers/geoserver. Here is my code : <!-- Import OL CSS, auto import does not work with our minified OL.js ...
3
votes
2answers
314 views

In OpenLayers displaying two images at the same time

Within OpenLayers, I have two images, both jpg with world files, and each 1440 x 900 px. The two images are geographically located next to each other. Is there a way to display both images at the ...
0
votes
2answers
602 views

Handling geoExt popup when one or more layer fails to load

GeoExt info Popup is very easy to use but when one or more layer is missing or fails to load Avoiding Pink Tyles. The popup is not filled with the values. While I can see that request is sent to the ...
2
votes
4answers
6k views

How to use Google Maps V3 Geocode with Openlayers

How to use Google Maps V3 Geocode with Openlayers. Below is my code but the function does not execute when I try to integrate it with Openlayers. This works with my original google v3 file. Below is 2 ...
7
votes
1answer
3k views

How to style features created by DrawFeature control?

I've been following this tutorial: http://workshop.pgrouting.org/chapters/geoext_client.html#select-the-start-and-final-destination It contains an Openlayers.Control.DrawFeatures control defined in ...
0
votes
1answer
773 views

OpenLayers/GeoServer/Oracle combo input/output scenario

Im completely new to GIS. I must finish already started project that uses Oracle as DB for geoobjects, Geoserver, OpenLayers. Task is to draw something on a map (OpenLayers must handle that drawing i ...
0
votes
1answer
623 views

How do you convert the radius decimals of a circle in Openlayers to Kilometers [duplicate]

Possible Duplicate: Unproject Radius with Openlayers with CRS:84 Projection I allow a user to draw a circle in Openlayers. I created an alert to show the radius of the circle. I now need ...
2
votes
1answer
1k views

How to get the radius of a “circle” in Openlayers

How do you get the radius of a circle in openlayers? I have searched quite a bit and cannot find any resource for this. please help. Here is my code but I want the radius or circumference of the ...
1
vote
2answers
840 views

Openlayers Vector Layer Polygons not displaying properly with OSM

So I have an Openlayers map displaying Acetate tiles in OSM, and I'm drawing polygon regions on a vector layer to represent the countries of the world. This works fine for the most part, however, ...
1
vote
1answer
398 views

Are there any repositories to find custom map tiles for an OpenLayers implementation?

I can't seem to find an WMS that looks the way I want. I've also checked all of the regular OSM places too and haven't quite found anything. Can anyone recommend any places to find custom map tiles ...
3
votes
2answers
352 views

Third party base layer other than Google map

Can we use third party base map (images tiles) for displaying vector data?, like we use google map as base layer for displaying vector data in OpenLayers application.
2
votes
2answers
847 views

How to use different 'missing tile' for OpenLayers?

I would like to use a different image for missing tiles with an OpenLayers application. Currently the tile is red/pink, with a red x in the upper left corner. I would like to remove that corner, does ...
0
votes
1answer
894 views

Using Google API 3 with Openlayers Brings POPUP [duplicate]

Possible Duplicate: Google Maps layer copyright popup every time map updated / user input I recently upgraded from google map api v2 to v3. It was working quite fine previously but now it ...
3
votes
2answers
2k views

How to implement feature search in OpenLayers with Geoserver?

I'm looking to build an application similar to this ArcGIS Server JS example which does a find task against a layer in the map. However i want to do this with OpenLayers, Geoserver and PostGIS. Some ...
5
votes
2answers
4k views

Will mousedown events fire with Touch events on OpenLayers mobile?

I can't get the mousedown event to fire on a mobile device when I click on a marker. I'm using openlayers 2.11 with TouchNavigation. The mousedown event fires just fine in Chrome on my Desktop. Are ...
3
votes
1answer
764 views

OpenLayers jQueryUI Draggable

I am using open layers to render a wms inside of a div tag. This is right out of the openlayers documentation. My WMS layer is rendering well. <div id="map"></div> Using the jquery UI ...
0
votes
2answers
1k views

GIS Web API - WFS-T Edit

My organization has a asset management application using Google Maps Java API as the GIS viewer. The application does some simple editing/querying on a kml file through html form elements. Instead ...
8
votes
3answers
1k views

Best way to animate radar data in openlayers

I have a project using OpenLayers which displays radar data on a map. The radar data itself is just a bunch of polygons each of which is filled with one of 6 possible colors. The goal is to animate ...
0
votes
1answer
650 views

Any example for Google like the bing OpenLayers/examples/bing-tiles-restrictedzoom.html?

I would like to restrict zoom levels in Open Layers for a Google Map. A bing example shows how to limit the extent of the bing tiles: var road3 = new OpenLayers.Layer.Bing({ name: "Road tiles ...
2
votes
2answers
299 views

How OpenStreetMap data layer works?

OSM map has a data layer and an information panel. How is it implemented? What is a type of the layer and URL of vector data source? How information panel works? Thanks for all!
1
vote
2answers
782 views

OpenLayers Circle not visible

I'm trying to draw a circle with OpenLayers with a Google Maps Layer. I'm able to transform a simple marker and have it draw at the correct location, but I can't figure out the circle. I'm trying to ...
11
votes
3answers
6k views

Google Maps layer copyright popup every time map updated / user input

I have used a Google Maps hybrid layer in Openlayers in my HTML5 iOS app for months now and it worked perfectly. Just recently they changed something because the 'Map data...' line at the bottom looks ...
3
votes
1answer
827 views

OpenLayers.Layer.Vector not working?

I'm struggling to get my vector layer working. The wfs works as I have tested it by creating a wfs layer and adding it to the map, now I'm trying to display a vector layer with the results of a search ...
4
votes
1answer
1k views

WFS-T: changes not saved on an OpenLayers map

I have written a script allowing to display a few WMS and WFS layers and I want to make my 2 WFS layers editable. I have all my controls and can draw / modify / drag / delete my features but, on one ...
1
vote
1answer
2k views

WFS layer not showing? [duplicate]

Possible Duplicate: How to add GeoServer wfs layer on OpenLayers? I'm really new to this and am making a map for a university project, I can't get my WFS layer to show up on my map, the WMS ...
2
votes
1answer
1k views

How to Edit Popup using Openlayers Text Layer?

I am creating a map with about 1000+ points using Openlayers. Currently when I click on one point's icon, the description for the point shows up in a popup, and to exit the popup I need to click on ...
2
votes
4answers
2k views

OpenLayers transform EPSG 27700 coordinate to Google 900913

Community, I'm currelty capturing my mouse click event and trying to transform the coordinates into Long Lat. I need to get at the Long Lat as strings so I can build a url and throw it at Google ...
4
votes
2answers
7k views

Display a WFS layer with OpenLayers

Good Morning! I have some troubles displaying a WFS layer with OpenLayers and hope someone here can give me a hint. Before moving on, I precise that I have already checked other posts, like here and ...
2
votes
1answer
1k views

How to choose between Markers and Features for drawing Openlayers objects?

Yesterday I was trying to create first mock-ups of my GPS tracker interface, and was exploring the available OpenLayers objects for drawing on a map. I began with simple task - placing a marker on a ...
4
votes
5answers
3k views

Openlayers renderer in IE8 - Labels not visible

I copied the source code of http://openlayers.org/dev/examples/vector-features-with-text.html. This url works just fine in IE8. I put the html page as it is in the webfolder in our network. I opened ...
4
votes
3answers
4k views

OpenLayers: Showing a WFS overlay on top of Google Maps

I have found similar questions asked previously, but I still fail to get a simple WFS point layer to work using OpenLayers and Google Maps. The original code I used was based on WFS polygon layers I ...
1
vote
1answer
306 views

Openlayers dynamically label polygon segments

My requirement is to show dynamic label on polygon feature's segments with some offeset. The label text should have the rank of each segment. If it is a square which starts at top left corner it will ...