JavaScript Toolkit for Rich Web Mapping Applications

learn more… | top users | synonyms

1
vote
1answer
297 views

Submit empty string via POST wfs in GeoExt.form.FormPanel

I have a two textfields in FormPanel. When one of them is empty, after pressing the search button the form sends the empty string in WFS query. How can I disable the empty field which sends the WFS ...
0
votes
1answer
192 views

How to handle many-layer queries using GeoExt/Geoserver/OpenLayers

Am developing an application using GeoExt/OpenLayers and Geoeserver and am using more that ten(10) layers.I wanted to add a querying functionality on my application.I have done for one layer and is ...
2
votes
3answers
1k views

OpenLayers.Format.GeoJSON throws an exception “SyntaxError: JSON.parse: unexpected character” for valid JSON

In my GeoExt client, I have the following line that retrieves JSON data from a web service into a FeatureStore: var store = new GeoExt.data.FeatureStore({ layer: route_layer, fields: ...
0
votes
1answer
33 views

Show all layers stocked on a GeoServer workspace in a LayerTree (Openlayers3/ExtJS6/GeoExt3)

I'm building a layer tree and I would like it to be updated automatically when the page is loaded with layer that are in a specific workspace on GeoServer. In my layer tree I have a group containing ...
0
votes
2answers
625 views

How to set default style of layer using rest api in Geoserver

Hello friend, I want to change the default style of the layer in Geo server using the REST API.For this i get this code curl -v -u admin:geoserver -XPUT -H "Content-type: text/xml" -d ...
0
votes
0answers
16 views

Openlayers Mapfish Fails

My OpenLayers/MapFish print tool fails approximately half the time when attempting to print WMS with some vectors, and always fails when trying to print WFS layers. After the OL map first loads I can ...
1
vote
2answers
390 views

Apend child to a layertree with nodeType: “gx_layer”

Im building an application with geoext and opengeo suite SDK. I´m trying to create a layer tree with some "grouped" layers like the last node here I saw somewhere that I should set the node Type to ...
0
votes
0answers
8 views

Add logo to the gxp.viewer

I'm trying to create a web application using Opengeo Suite SDK, and in my viewer i have the center panel, west, north and south and i want to know if it is possible to add a footer in which to add ...
0
votes
1answer
216 views

spatial query using GeoExt and openlayers

I want to allow the the User to make advanced custom queries against a layer.So he can search by name or another attribute and get zoomed to the requested feature ( hospital in my case) . I m ...
0
votes
1answer
286 views

Should I be using the OpenGeo Suite SDK or GeoEXT?

Im new to the OpenGeo Suite, and was wondering if I should create my apps using the SDK Link Here Or I should use openlayers and GeoEXT Link here I believe the SDK uses openlayers / geoext but makes ...
1
vote
1answer
29 views

How to force EXT JS - GeoEXT to show legends with OpenLayers?

My sld is applying as below function cusMap(strSld_body,talukaName,name){ console.log(strSld_body); var query = new OpenLayers.Layer.WMS.Post(name, geoServerURL, { LAYERS : ...
1
vote
0answers
509 views

Adding search box using OpenGeo Suite Client SDK?

I'm using the OpenGeo Suite Client SDK to create a web mapping application. To perform searches I'm currently using the QueryForm plugin. Instead of using the QueryForm I would like to add a search ...
0
votes
0answers
19 views

Customize attribute form display in opengeo!

i'm trying to build a web map application through Opengeo Suite solution, and i was wondering how can i design my own attribute editing form. The application has its own default form and i want to ...
1
vote
2answers
410 views

How define new 'GeoExt.panel.Map' with OpenLayers-3.6.0 and Extjs-6.0?

I'm using OpenLayrs-3.6.0 and Extjs-6.0. I want to define GeoMap Panel class like this. In other words, I want to rewrite GeoExt.panel.Map in geoExt-2 library. for this I define a class as follow: ...
0
votes
0answers
21 views

Multiple instances of popup on geoext

I have a popup: App.hover.events.register("featurehighlighted", this, function(e) {createPopup(e.feature);}); I need only 1 popup on my map, but when I put the mouse hover a point, the map creates ...
0
votes
1answer
74 views

Filter (no display) layers in GeoExt.LegendPanel with names LIKE some pattern

This works to avoid Basemap layers such as Google Maps and overlays such as WMS to appear in the GeoExt Legend Panel: var legendPanel = new GeoExt.LegendPanel({ border: false, filter: ...
0
votes
0answers
9 views

GeoExt zoom to layer extent without losing transparancy

I have been developing a online mapping using geoext, openlayers and mapserver and so far the app is operational but battling with the zoom to extent functionality which makes my layer to lose ...
2
votes
1answer
61 views

Restrict extent and Zoom in OpenLayer

There are too many question on this issue, but unfortunately I couldn't get the solution. I have the following settings, var geographic = new OpenLayers.Projection("EPSG:4326"); // WGS 1984 ...
0
votes
1answer
56 views

Set Base Layers in gxp viewer

I have created viewer app using opengeo gxp library. I have added some layers in Layers config of gxp viewer. some of which are in overlay group, some in custom group and some in background. As per ...
0
votes
0answers
34 views

ExtJS dynamic vertical panel goes out of borders in smaller screens

I have built a web gis application using ExtJS 4 and GeoEext. I have a panel on the right side of the application in which I appear images based on a date filter. For this I have a vertical scroll bar ...
1
vote
1answer
34 views

Deactivate OpenLayers Control

I have a control that draw line. What I want is that once the line is drawn the control should be deactivated. new GeoExt.Action(Ext.apply({ text: 'Draw Line', control: new ...
1
vote
0answers
37 views

GeoExt Popup always loading after first click

I'm trying to put popups on my map to show the feature's info. I have done that, however after the first click the mouse pointer starts loading and never stops. var control = new ...
0
votes
1answer
83 views

GeoExt Toolbar Mouse Position

I am new to GeoExt and OpenLayers world. I am currently using OpenLayers 2 and GeoExt 2. I want to add a mouse position on the toolbar. Currently my mouse position is on the lower right corner of the ...
4
votes
1answer
783 views

Trouble in adding a print function to GeoExt MapPanel

I am trying to add print function to my GeoExt 2 web application, like: http://geoext.github.com/geoext2/examples/printpreview/print-preview.html first I am testing this using the same example urls, ...
3
votes
3answers
577 views

Get mouse position in OpenGeo

I'm using GeoExt as part of OpenGeo Suite using code generated by the Open Geo suite SDK. I would like to display the current mouse coordinate and don’t really know how to do it. As far as I know ...
0
votes
0answers
84 views

GeoExt registerRadio problem

Can someone please help me with this error I have in GeoExt: I've used this code http://geoext.org/tutorials/layertree-tutorial.html / "Layer Nodes with Additional Radio Buttons" But the page is ...
0
votes
1answer
170 views

Action zoom in a button

In my code, I have a button that displays information in my gridpanel and it add a vectorlayer in it. I want to add zoom on those polygon, but I did not succeed My code: testlayer.events.register( ...
1
vote
1answer
107 views

Get OpenLayers.Control.MousePosition in Toolbar

I have created an OpenLayers.Control.MousePosition: var coord = new OpenLayers.Control.MousePosition({ prefix: 'You are here: ', separator: ' | ', numDigits: 5, ...
0
votes
0answers
71 views

Display MapServer Legend in GeoExt using OpenLayers

I have been trying to get my MapServer legend displayed in a GeoExt app using OpenLayers. I am quite new in MapServer and web mapping. Only a vector legend, and my OpenStreetMap legend is displayed. ...
0
votes
0answers
24 views

Geoext - Load Attribute table automatically

May be it is a basic question. I am new to Geoext programming. I have developed a web application using Geoext with East - Table of content, Center- Map display and South - Grid panel I am able to ...
0
votes
0answers
87 views

Heron template deactivates overlays

I'm using the template of Google layers with an overlay of World Cities(OpenGeo), whenever I try to add some more overlays the application results in an error. It loads all the overlays but whenever I ...
1
vote
1answer
37 views

Heron template toolbar problem

A couple of days ago, I went to this site heron-mc.org/examples.html and found some useful application templates. I viewed them, went to view source code and copied the source code to my editor to ...
1
vote
1answer
41 views

Zoom To Layer Using EventListener

I have been struggling with zoom to layer functionality with event listeners. The code is working and zoom to layer whenever it is loaded but the problem is that once it is loaded, i can not zoom or ...
2
votes
0answers
81 views

Adding Layers to Heron Template

I've got this piece of code below that is supposed to display two base layers but now the OSM_LAYER disables(becomes blurry and inactive in the layer tree) the WORLD_LAYER, I'm not sure what the ...
5
votes
1answer
2k views

Get mouse position in GeoExt

The title says it all. I'm using GeoExt as part of OpenGeo Suite. I would like to display the current mouse coordinates. Update: I was getting confused as to what parts of the code are GeoExt and ...
1
vote
1answer
60 views

empty WMS popup ( geoext)

hello everyone I have a problem with my application and more precisely the pop up that appears empty controls.push(new OpenLayers.Control.WMSGetFeatureInfo({ autoActivate: true, infoFormat: ...
0
votes
0answers
111 views

GeoExt.tree.Panel with Action

I want a popup action in the same line behind/in front off my layer in the layertree. I tried this example: https://searchcode.com/codesearch/view/66045998/ but this is not working for my code. I ...
1
vote
1answer
479 views

Improve performance of Ext Grid with GeoExt WMSCapabilitiesStore

i have a question concerning the performance of the Ext Grid when loading big datasets from the GeoExt WMSCapabilitiesStore. My application loads about 2500 layer records in an Ext Grid Panel. Once ...
1
vote
1answer
113 views

Add QGIS Server WMS layer to GeoExt template

How to add QGIS Server WMS layer to GeoExt template (OpenGeoSuite SDK)? I use next code, but unsuccessful display layer qgis: { ptype: "gxp_wmssource", url: ...
0
votes
0answers
79 views

How to display tools on the Heron toolbar

Attached is my code for the index_page of Heron Layout, I can't find a way to display tools icons on the menu bar. I also have Heron.js, default.css, DefaultOptionsNL.js and Config.js locally in the ...
0
votes
0answers
55 views

GeoExt : Gxp Query Function

I am using a Gxp function which allows to query on layers. It is defined as var queryPanel=new gxp.QueryPanel({ title:"Query Panel", region:"east", width:390, ...
0
votes
1answer
99 views

Failing to use ArcGIS map as basemap in GeoNode

I'm trying to add the ArcGIS map service to my project in GeoNode but I'm failing to do so. I've read around and I saw information that says I need to make a XYZ tile service (something like this: ...
0
votes
0answers
37 views

Heron GUI Layout

I've this condition on the below image, I'm not sure where I went wrong. If there's anyone who can help me I'd apreaciate that a lot. I can't find a way to display tools on the menu bar.
0
votes
0answers
191 views

Adding controls and fuctionalities to the map

Can someone please help me how to do this tool bar. I've been trying to do it on my own but as a beginner, I'm failing. Attached is the picture of what I need you guys to help me do. Thanks! Below ...
0
votes
1answer
138 views

Open Layers 3 with Feature Grid

I cannot find examples of OL3 integration with EXT, such as done with GeoExt. It looks like GeoExt is waiting for funding to do this. What I want is a feature grid with vector data displayed in a ...
0
votes
4answers
158 views

OpenLayers Definition in GeoExplorer/GeoExt

I'd like to know how to define 'Open Street Map' as basemap in the function GeoExplorer.js The createLayout function is defined as : createLayout:function(){ this.map=new OpenLayers.Map({ ...
0
votes
0answers
253 views

Integrate tools on the toolbar

attached is my code without tools. I need to add more tools to it but I get errors, can somebody please help me how to do it.The tools code is attached after the first one. Thanks! My code is as ...
1
vote
1answer
925 views

How to make timeline with OpenLayers?

I have OL, GeoExt, gxp. I have a layer with Date attribute. So I want to show features with same date. I found an example using gxp_playback, but it does not work because it can't find ...
0
votes
1answer
49 views

gxp_GoogleStreetViewPanel

is there any available example online, or anybody could help me to figure out how can I use the GoogleStreetViewPanel widget in the opengeo suit sdk? I tought it will work like this: { xtype: ...