JavaScript Toolkit for Rich Web Mapping Applications

learn more… | top users | synonyms

4
votes
1answer
701 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, ...
0
votes
1answer
147 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
48 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
8 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
8 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
16 views

Popup Feature Information

I'm using the heron template and I have added my shapefiles on it. The feature information button doesn't display the data within my shapefile. How can I make it work properly? Below is my code: ...
0
votes
2answers
394 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
14 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
270 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 ...
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: ...
1
vote
1answer
16 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
14 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 ...
1
vote
0answers
25 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 ...
4
votes
1answer
1k 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
18 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
47 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
121 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: ...
1
vote
1answer
389 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 ...
0
votes
1answer
30 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: ...
1
vote
1answer
73 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
32 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
17 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
60 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
37 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
24 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
74 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
56 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
88 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
71 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
749 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
36 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: ...
1
vote
0answers
256 views

Qgis web client search

I install Qgis web client on windows 7 and it's working fine! Now I wont to setup search feature! First I added line in Apache config file: -LoadModule wsgi_module modules/mod_wsgi.so In ...
0
votes
0answers
46 views

How to add vector layer in Open Geo Suite?

Plugin for the add vector layer:- OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, { isBaseLayer: !1, isFixed: !1, features: null, filter: null, selectedFeatures: null, ...
0
votes
0answers
21 views

GeoExplorer Login Problem

I can't login to geoexplorer, I haven't changed anything but 'admin' and password 'geoserver' are not working anymore. I want to load more shapefiles. Please help!
1
vote
1answer
167 views

Override or add to [GeoExt.ux PrintPreview] rotation

I'm using suite-sdk (GXP) to build my WMS client. I want add to PrintPreview window capability of changing rotation. I find this feature in Heron script but there is other version of [GeoExt.ux ...
1
vote
0answers
70 views

Heron mc/ Openlayers wms load

I have configured a webviewer using Geoserver/Openlayers/Geoext and Heron-mc. In the examples the overlays and baselayers automaticaly load when first starting the application. I have changed the ...
1
vote
0answers
39 views

Printing a map using GeoExt, Openlayers and GeoServer

I am trying to print an Openlayers map using GeoExt and Geoserver. Here is the code printProvider = new GeoExt.data.PrintProvider({ url: printServiceURL, method: "POST", // "POST" ...
0
votes
0answers
34 views

geoext legendpanel not displaying symbols

I am using geoext 1.1 with openlayers 2.11. I have a few point layers (WFS) with associated styles where I pass an image adress to 'externalGraphic' parameter like this ...
0
votes
1answer
119 views

Add OSM baselayer within WMS layers

how can I add OSM be the base layer? Below is what I have and the part within asterisk is where I want to place an OSM. var mapPanel = new GeoExt.MapPanel({ region: "center", center: [27.795971, ...
0
votes
1answer
100 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 ...
0
votes
2answers
60 views

How to get Scale Bar, WebMap with GeoExt

I tried to make a WebMap with GeoExt and everything is working, but I don't see a scalebar. var mapPanel, tree; Ext.application({ name: 'test', launch: function() { ...
2
votes
2answers
2k views

GeoServer GetCapabilities Not Working

I am trying to learn how to use the OpenGeo suite by following the tutorials on the site. The one I'm currently trying to follow is http://workshops.opengeo.org/geoext/stores/capabilities.html. Most ...
0
votes
0answers
65 views

Connection to Shapefiles and PostGIS

I have this HTML (see below) code, I want to connect to PostGIS to the Shapefiles I have loaded, but I can't find where and how to accomplish that. I want my map to display this Shapefiles when the ...
2
votes
2answers
683 views

How to export vector features to grid using proxy and WFS protocol?

I am trying to export vector features (current view) as a grid, something like: http://workshops.opengeo.org/geoext/wfs/grid.html so far layer features are not being retrieved.. I got empty grid in ...
0
votes
1answer
102 views

request two layers in search action of one PanelForm

here's my case: i have a panelForm with 4 fields, and a search button, that search for the features that correspond to the 4 fields given by the user. and i have two layers that both contains the 4 ...
0
votes
1answer
32 views

How to get properties from gx_mappanel layers

I have gx_mappannel with id:mappannel. I added two layers to this panel: OSM layer and one vector layer, here is the sample code: Ext.onReady(function(){ ... { ...
0
votes
1answer
57 views

how to use gx_mappanel?

While developing a user interface using Ext.viewport and GeoExt, gx_mappanel tricked me.I'm using OpenStreetMap as base layer and a vector layer.Both layers works fine when I use Openlayers alone for ...
0
votes
1answer
209 views

GeoExt 2.0.2 - Checkboxes in Layer Tree does not work!

I am trying to generate a customized layer tree using GeoExt 2.0.2 My code is as follows: var store = Ext.create('Ext.data.TreeStore', { model: 'GeoExt.data.LayerTreeModel', ...
1
vote
0answers
57 views

Geonetwork javascript API

I'm currently developing a web map application using GeoExt javascript API. The web map application is supposed to give lists of available WMS layers in a Grid panle through the help of GeoExt's ...