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

learn more… | top users | synonyms

0
votes
0answers
73 views

How to add geocoder and routing options in geoexplorer in Opengeo suite 3.0.1?

I am using Opengeo suite 3.0.1 and was wanted to know if there is a way to add a geocoding and routing options using osm. Basically, I am trying to add text boxes (one for start point and one for end ...
0
votes
0answers
45 views

How to create boundaries for a map in OpenLayers

I have 2 points say source and target and I wanted to move the control from source to target for that Linestrings whose segments are ariel near are identified and movind towards out of boundaries.
0
votes
0answers
50 views

Why does Openlayers loadend event run twice?

Openlayers loadend event run twice on version 2.10. See my code: layer.events.register("loadend", layer, function() { //Do something }); No answer on openlayers docs.
0
votes
0answers
136 views

Unable to display popups when clicking the layer title within a layer tree panel - OpenLayers, GeoExt, GeoExt ux

I am using OpenLayers and GeoExt with Geoext.ux layertreebuilder to manage GML vector layers. The GeoExt and GeoExt ux are used strictly for grouping and managing the layers within the layertreepanel. ...
0
votes
0answers
68 views

geoserver server JSP

I have shown the wms through geoserver+openlayers, and I wish the page go from html to .jsp after I click a button but i get error 404 RequestURI=/WEB-INF/query.jsp. I'm sure query.jsp is located ...
0
votes
0answers
40 views

Clickable on DIV, not a POP-UP in Openlayers

I've tried everthing!! but I can't get my FEATUREINFO in a DIV... I'm newbie in javascript. That's my code... <code>map.events.register('click', map, function (e) { var url = ...
0
votes
0answers
40 views

Not seved chenges in Postgres from Opengeo API

I create my site like http://suite.opengeo.org/recipes/#app/wfs/commitedits but with my data from postgres(9.2). After chenged and press Save show error: Cannot read property 'features' of null. Also ...
0
votes
0answers
8 views

How to set bgcolor to the cached openlayers group layer

I am trying to request a group layer with bgcolor parmaeter. but that is not applying for the cached layer and it is successfully applying to non cached layer group. Can anyone suggest anything.
0
votes
0answers
26 views

Are there any alternative approach to plotting lines,points, polygons in geodjango?

Are there any alternatives for drawing figures on a map and storing them on a database? Aside from using the widgets of either geodjango or floppyforms? I've tried using the edittoolbar with a ...
0
votes
0answers
46 views

Dynamic feature creation moves feature on zoom

I've been trying to create a feature programatically in OpenLayers, but the feature moves to 0,0 whenever I zoom in or out. This is just an ajax request, that filters a bunch of points using their ...
0
votes
0answers
78 views

Display a single country with OpenLayers

Can I display a single country using Openlayers? I'm not trying to restrict zoom levels or . I want only one single country to be displayed. The rest of the world cannot be displayed. My reasearch ...
0
votes
0answers
57 views

topp:state with google map layer problem on openlayers

I am trying to create a simple openlayers + geoserver map project. And I have a simple code, as following. When I run the project, it works perfectly. But once I zoom in on the map, states wms layer ...
0
votes
0answers
107 views

Get feature from two overlapping KML layers doesn't work

I did an implementation similar to http://openlayers.org/dev/examples/sundials.html The difference is that I have two or more kml layers at the same location and want to show their information ...
0
votes
0answers
129 views

WMS getfeatureinfo() giving incorrect result

I am using openlayers and Geoserver. I have created a base layer using OSM and then added wms layer topp:states. I want to show a world map and on that show US states. I have added onclick ...
0
votes
0answers
70 views

How to create a collaborative mapping website?

I have read about webservers, static and dynamic pages, cgi-bin... I can create a simple web mapping service in which a map with layers and controls will be there. And now I want to provide login ...
0
votes
0answers
42 views

Styling from an XML file with multiple properties with the same name

I'm trying to give styles to a new layer about Earthquakes. This is my code and below you have my xml file from where I'm readding: Code: var rule1 = new OpenLayers.Rule({ title: "Magnitude < ...
0
votes
0answers
52 views

GeoExt browser error in Firefox and Chrome with Datagrid

I get the following error with geoext in Firefox (and Chrome fails as well). I have updated to ext 3.4.0 and get the same error. It is loading a datagrid using geoext. Works fine in IE (for a ...
0
votes
0answers
112 views

Port an OpenLayers application to mobile devices

After making a duration/cost estimation, I'm about to start to start developing a desktop application using OpenLayers. I've never had experience on it before, but have the support of some coworkers ...
0
votes
0answers
44 views

Missing tiles when django application is hosted on an apache server

I'm building a GIS application using Django as my web framework and OpenLayers to implement a slippy map interface. I was initially using the django runserver for development and everything was ...
0
votes
0answers
133 views

ajax not working with postgresql

I know is a silly question but I thought I should ask since you guys know more about postgresql. Sorry for being analytical, but I think its the only way to make my question clear. I'm using ...
0
votes
0answers
54 views

Is it possible to get raw image data (blob) from OpenLayers?

I would like to insert the BLOB data of a tile to a sqlite database (WebSQL) in order to create an MBtiles compatible database; Is there a class/method that will allow this? I have looked at ...
0
votes
0answers
66 views

OpenLayers move each vector feature of layer by constant pixels away from center

I am stuffing a lot of features, each from a different layer, onto exactly the same point, so the visual result is somewhat confusing and it is necessary that some graphics have some offset of ...
0
votes
0answers
34 views

sld parser for version 1.1.0 with Openlayers

I am using Openlayers 2.11 and need to style a layer with a sld file version 1.1.0. the error it says is Uncaught Can't find a SLD parser for version 1.1.0. i have also tried it with Openlayers 2.12.
0
votes
0answers
84 views

using mapnik xml file to render tiles in python

Is it possible to use an xml file in python? without using the bindings for python for mapnik. basically i'm using django/geodjango, postgis and well i decided i'd try and design the map on tilemill ...
0
votes
0answers
60 views

How can I display remotely the Panoramio's KML layers

I'm trying to display in my web portal the Panoramio's kml layer. The above code developen in OpenLayers is what I'm doing: mapa = new OpenLayers.Layer.Vector("Panoramio Photos", { projection: ...
0
votes
0answers
97 views

Open Layers override class or method in Android 2.3

I'm implementing my own image loading mechanism for openlayers, because lack of functions in android 2.3 webview. It will get cached images from android db. I wan't to override ...
0
votes
0answers
88 views

How to create curved polygons using OpenLayers and MapServer? Any Alternatives?

I've created a website that uses OpenLayers, MapServer and a SQL2008R2 database. Part of the website allows users to draw polygons to overlay a map of the UK. Ideally, these polygons need to have ...
0
votes
0answers
82 views

OpenLayers set feature style

I have a standard OpenLayers features with geometry and containing some additional data. Like this: ... data: [3 ,8] id: 5 isCluster: true lat: -14.018995915348285 lon: -113.59550725071185 ...
0
votes
0answers
176 views

Is there a way for me to load a KML files locally in Openlayers

Recently I posted this question KML file seems to load in Openlayers without error but doesn't show vectors because I was having trouble getting KML vector data to show up. After searching around ...
0
votes
0answers
57 views

Send WMS Request as JSON

I'm using openLayers and geoserver. I'm making a layer with openLayers.Layer.WMS to geoserver and am adding cql_filter to filter down id's. Here is my code: var kent = new ...
0
votes
0answers
70 views

How to set the holeModifier on OpenLayers.Control.DrawFeature to always be active?

I would like to create a button "draw a hole" taht uses by default the holeModifier functionality but the user dont need to press the cttrlBtn. The "standard" way I guess, would be to create a way of ...
0
votes
0answers
87 views

OpenLayers OSM and WMS (Navionics) offset

Including a WMS layer (Navionics) on my OSM map always shows shifted by 20km or so. Where should I be looking for solving this? Projection settings, tile provider? Thanks. ...
0
votes
0answers
146 views

Using Bing Maps API in Geoserver OpenLayers Map Application

I am using Geoserver and Openlayers to display several shapefiles in a mapping application. I thought the best way to begin would be to organize the datasets and do a layer preview in Openlayers on ...
0
votes
0answers
12 views

change the graph location in opentripplaner-api-web.war

I am using opentripplanner to deploy the app in tomcat i have to change the graph.obj location, but doesn't know I can achieve this. I read the "configuring the webapp" but failed to understand the ...
0
votes
0answers
186 views

Openlayers on Android and chrome browser - white lines when using viewport meta tag

When rendering TMS tiles, sometimes there is a white line that shows up between tiles. Not between all tiles, just some, and only sometimes. Pan around and it disappears and reappears again. ...
0
votes
0answers
17 views

Auto Identify the layer / format type of URL's content with OpenLayers

OpenLayers supports a wide selection of Geospatial data formats that it can display which in includes both raster formats like WMS, Tiles, ArcGISCache and vector formats like GML, KML, GeoRSS and ...
0
votes
0answers
307 views

WMS GetFeatureInfo; multiple layers, different sources

I'm developing a web application using GeoExt, OpenLayers and having my own GeoServer to serve various maps. Still, I want to let the user add other WMS's if needed, to be able to play around with all ...
0
votes
0answers
106 views

Generating vector data (points) for OpenLayers Animated Cluster Strategy

In my web application I am going to use OpenLayers.Strategy.AnimatedCluster strategy due to the fact that I need to visualize a great amount of point features. Here is a very good example of what it ...
0
votes
0answers
105 views

Openlayers cluster strategy: zoom to layer (WFS) extent

For some reason, when I enable the cluster strategy the zoom to layer behavior is zooming to the first cluster in the layers features array, rather than the whole layer data extent. I tried (with no ...
0
votes
0answers
51 views

How do I load OSM cached files in OpenLayers?

I have some cached files from OSM , I've seen example that loads the files using this command : var newLayer = new OpenLayers.Layer.OSM("Local Tiles", "tiles/${z}/${x}/${y}.png", { isBaseLayer: true ...
0
votes
0answers
106 views

How to embed an OpenLayers map in a blog post?

I have a map in GeoServer which I need to publish in a blog post. I'm pretty sure this is possible but I am not managing to make it work. I'm posting the html source code from the openlayers layer ...
0
votes
0answers
93 views

Failing image opacity with OpenLayers and IE8

To describe it in a few words: I have an Image Layer as overlay, defined with 0.5 opacity. After zooming in to zoom level 11, the image becomes opaque. After that point, there is no way to change the ...
0
votes
0answers
235 views

Why does map click listener not work with touch?

I deleted this question which I posted a few days ago, thinking that I would be able to solve it. But after struggling for some time, I think I really need some help. The problem is this: I am testing ...
0
votes
0answers
159 views

Openlayers WFS Features returned but not drawed

I've managed to get features return by a WFS filter layer but I can't add them on top a google map layer. var map, Geographic, Mercator, wfsLayer; OpenLayers.IMAGE_RELOAD_ATTEMPTS = 3; ...
0
votes
0answers
235 views

Question about Geoserver response with proxy visit

i always has a question today! Could not determine geoserver request from http request org.geoserver.platform.AdvancedDispatchFilter$AdvancedDispatchHttpRequest@cc9f79 this is my proxy.ashx: using ...
0
votes
0answers
63 views

Google API Premier for print provider?

If I try to print Google Map using GeoExt print provider, I got a blank PDF file. I read that Google doesn't allow printing Maps. So, if I use API Premier, will I be able to print it ?
0
votes
0answers
63 views

WFS layer modification problem

I have two WFS layers. Strategies+Style SS=new OpenLayers.Strategy.Save(); FS=new OpenLayers.Strategy.Filter({filter:Ffilter}); var myStyle ...
0
votes
0answers
209 views

OpenLayers BBOX Strategy & Layer Visibility

I'm using OpenLayers BBOX strategy to filter data at boundary level.My layer specified as: var layer = new OpenLayers.Layer.Vector("Vector Data", { isBaseLayer: false, styleMap: sm, ...
0
votes
0answers
194 views

GetLegendGraphics request doesn't appear to use proxy

I have a legend panel defined as: var legendPanel = new GeoExt.LegendPanel({ layerStore: app.mapPanel.layers, title: "Legend", defaults: { labelCls: 'mylabel', ...
0
votes
0answers
104 views

how to show LINESTRING intersection with other layers in Openlayers?

I'm using Postgis/Geoserver/Openlayers and I have a query that gets al the "towns" that are near a "road". Now, "road" and "towns" are different layers, and I want to show them in Openlayers. But I ...

1 4 5 6 7 8