Questions tagged [geoext]

JavaScript Toolkit for Rich Web Mapping Applications

Filter by
Sorted by
Tagged with
1
vote
0answers
1k views

Adding multiple nested nodes in GeoExt?

I have following codes, but i want to add severel parent>child>chill>child>child (4 level inside) nodes with all check box options (for user choice) in the tree panel, in fact sum of all these (parent ...
0
votes
0answers
36 views

Map component .getWidth() is not a function (GeoExt3, MapFish, OpenLayers 4)

I'm trying to work through the tutorial here*. But I'm discovering something unexpected in terms of my map component. Background info on the app/installation: I installed GeoExt3 by cloning this ...
2
votes
0answers
481 views

Adding layer as input with code of OpenLayers / GeoExt using GeoServer?

I try to develop a GIS app with raster data. I have integrated the code of the following openlayers example in my app. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wps.html I have ...
0
votes
1answer
500 views

Layer leaf nodes replicated across all tree nodes using GeoExt?

This is going on with GeoExt 1.1 and OpenLayers 2.12. I need to build a layer tree dynamically, with layers and nodes that are only known at run time. The snippets I show below correctly create a ...
0
votes
0answers
32 views

Is there any way to create measure tool (area and length) using Ext JS 6, GeoExt 3 and Openlayers 4?

I am building a web GIS application using Ext JS 6.0, GeoExt 3 and Openlayers 4.3.0. I want to make measure area and measure length buttons so when I activate button I can draw polygon or line and get ...
0
votes
1answer
116 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
0answers
36 views

How to give radio button for one layer group and checkbox for other layer group in Geoext?

For Base layer group I want to display radio button and for nonbaselayergroup the checkbox should be displayed. Currently for both we are getting checkbox basicMapGroup = new ol.layer.Group({ name: '...
2
votes
1answer
146 views

Print XYZ Layer Using Geoserver, Mapfish, GeoExt

How can I get base layers added to an OpenLayers map using the OpenLayers.Layer.XYZ method to print in MapFish/GeoServer? The Geoserver/Mapfish print service is not printing any of my XYZ base layers ...
0
votes
2answers
285 views

Getting 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() { ...
1
vote
1answer
212 views

Display feature info as tooltips

I load a map with data and collect information in a JSON file. I want a tooltip appear when mousing over a town on the map. var vecLayer = new OpenLayers.Layer.Vector("vector", { ...
1
vote
1answer
128 views

set map center to specific layer GeoExt 3.1.0

Using GeoExt 3.1.0, OpenLayers 4.4.1 and ExtJS 6.2.0. I'm trying to make my first GIS web app and I am stuck trying to get the map to load with one of my layers in the center. While researching I was ...
0
votes
1answer
523 views

Handling many-layer queries using GeoExt/Geoserver/OpenLayers?

Am developing an application using GeoExt/OpenLayers and Geoeserver and am using more than ten (10) layers. I wanted to add a querying functionality on my application. I have done for one layer and ...
0
votes
0answers
155 views

WMS layer not displaying in OpenLayers 3

Three of my WMS layers are not displaying on the map. ...... trans = new ol.layer.Tile({ name: '<b>Transmission Lines</b>', visible : false, source: new ol.source....
1
vote
0answers
250 views

Calling service web from ComboBox using JavaScript? [closed]

I want to call a web service and use it in combox for search. Here is the function that i used to call my service web: var xmlhttp = new XMLHttpRequest(); var url = "http://176.31.230.211/mtmap/...
2
votes
1answer
114 views

How to Import Shapefiles (or any dataset) to a webmap using Openlayers/GeoExt online? WFS-T

I tried Using Heron, But it didn't workout well. The problem is, I couldn't found any good documentation about this matter. I just want to "Update" DataSet using an UpLoad tool to my actual Database. ...
0
votes
1answer
678 views

OpenLayers 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 ...
-1
votes
1answer
300 views

geoext3 extjs 6 editing grid [closed]

I am building a map web app using geoext-3 and extjs-6. I managed to create a editor grid to edit the attributes of features I have in Geoserver. However when I click on update button the value did ...
1
vote
1answer
433 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 : ...
0
votes
1answer
216 views

MapServer Shapefiles Not Displaying

I am current developing an GeoExt app which is up and running. Now I want to create maps then dump them in the app. I have been battling with mapServer for days now. Mapfile can generate raster type ...
3
votes
0answers
199 views

Connection trouble GeoExt to Geoserver Layer

I'm so sorry for my english, it's not the best. I'm trying to modify my postgres geographic table with this code: Ext.onReady(function () { OpenLayers.ProxyHost = "proxy.ashx?url="; var ...
1
vote
1answer
399 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
279 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 ...
2
votes
1answer
378 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 ...
1
vote
0answers
783 views

OpenLayers dynamic zoom levels

In my application i add layers dynamically. The first added layer is a baseLayer. When i add layer i extend bounds so the new layer could fit map (it works). The problems is that i don't know how to ...
0
votes
0answers
202 views

extjs 6.2 throws TypeError: a is null and TypeError: contentEl is null

I am trying to setup my very first working basic example of a GIS using GeoExt 3, Openlayers 4.4.1 and ExtJS 6.2.0 within a Symfony2.8.24 project. The Symfony part I'm used to work with, I am trying ...
1
vote
0answers
168 views

Shifting problem with mapfish?

I'm using OpenLayers 2.13 with GeoExt and mapfish print module for GeoServer. I've a map composed of a WMS layer and a vector layer. On my web browser everything is fine but when I print this map into ...
0
votes
1answer
79 views

Hiding checkbox of LayerNode in GeoExt?

I would like to hide/remove the checkbox of a LayerNode, since I need to have it always on display. Is there any sort of option to do this, or must I use the Ext object hierarchy to locate the ...
0
votes
0answers
159 views

Converting a WMS GetFeatureInfo's specific feature as hyperlink through GeoExt

I'm tying to develop a WMS GetFeatureInfo query using GeoExt, OpenLayers and GeoServer and I want a hyperlink to be displayed on the popup window in a specific column. I have created the service but ...
0
votes
2answers
140 views

How to FeatureEditorGrid configure and use in FeatureEditor

I am new user of OpenGeo suite. I want to configure FeatureEditorGrid plugin to change the column header to display name. My basic requirement is to customize column label like my table column is "pop"...
1
vote
0answers
156 views

Web Application with data editing capabilities by users stored in Geoserver [closed]

I have been using GeoExt/Extjs/Openlayers/Geoserver for some time.I have created a web application for mapping features in a county.I wanted to know whether there is a way I can add (edting/Addnew ...
1
vote
1answer
634 views

OpenGeo Suite create map application GXP or GeoEXT

I have seen a similar question but it never got answered. I am looking to develop a GIS system using the OpenGeo Suite, luckily I'm going to a conference on it in a few weeks, however that's weeks ...
0
votes
0answers
94 views

Using Mapfish Print v2 yaml file for Mapfish Print v3

I had a working Mapfish Print v2 yaml file. Is it possible to use the same in Mapfish Print v3 yaml? My old yaml file looks like this. #============================================================...
1
vote
1answer
1k views

OpenLayers Scaleline always wrong in my virtual star map

I got a problem for the scale line when I using OpenLayers to show my "star map". Basically, I give a set of 2D coordinates (X,Y) for each star, and generate the map using MapServer. Now the map can ...
1
vote
0answers
481 views

How to add dynamic tree and layer in GeoExt

I am using GeoExt, OpenLayers and GeoServer for map. Now I want to create dynamic tree and layer using GeoExt. So that any user can create a tree and add its layer (child) to that tree dynamically. I ...
0
votes
1answer
2k views

How get map extents for drawn polygon when final click is done?

I am using OpenLayers JS to draw a polygon and now I want map extents of the drawn polygon one final click (i.e. user finish drawing polygon or double click is done). For drawing the polygon I am ...
2
votes
1answer
766 views

Restrict extent and Zoom in OpenLayers

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 var ...
1
vote
1answer
687 views

OpenLayers and not well formed JSON

I am learning to use GeoExt and OpenLayers, and I want to reproduce one of the examples given at the GeoExt website. The script calls a GeoJSON file containing the position of Alp summits. I ...
-1
votes
1answer
179 views

Which is better pure **OpenLayers** or **GeoExt**? [closed]

Which is better pure OpenLayers or GeoExt? Which has more options with respect to GIS client-side
0
votes
1answer
295 views

Adding base layer for WMS layers from WMSCapabilitiesStore

I'm using the following code to get my WMS layers through GeoExt's WMSCapabilities store and display them in a grid for the users to select and add them to the map panel. but i need to add also a base ...
0
votes
1answer
208 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
116 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(){ ... { ...
6
votes
1answer
3k views

Print Maps - OpenLayers, GeoServer, GeoExt, MapFish

Can anyone point me towards a clear and unambiguous description of how to install and code a very simple map print function for OpenLayers/GeoServer? I am using GeoServer 2.5.2 and OpenLayers 2.12 on ...
4
votes
1answer
978 views

Maximum number of layers in OpenLayers2 with GeoExt

I have been developing web gis application that requires around 45 different layers served from GeoServer. I had created OpenLayers WMS layers and added them to GeoExt, everything works fine till the ...
1
vote
1answer
3k views

OpenLayers2: Load markers dynamically from text file

I am trying to load set of markers dynamically from a text file using OpenLayers.Layer.Text. The problem is that no markers are shown after rendering the page. Below is the JavaScript file that is ...
1
vote
0answers
426 views

How to get feature geometry?

I want to have a gridPanel with feature geometry. But I can't image how to do this. I have a FeatureStore st = new GeoExt.data.FeatureStore({ layer: myVecLayer, fields: [ {name: 'id', ...
1
vote
2answers
1k views

Display photo in GeoExt popup

I have point feature with name PointPhoto. This feature have attribute: id area PhotoPath Now I am using GeoExt popup to display this attributes, but I can't find a way to display image from image ...
1
vote
1answer
1k views

How to use filter in GeoExt.FeatureStore?

I have a FeatureStore: var protocol=new OpenLayers.Protocol.HTTP({ url: "/geoserver/ows?service=WFS&request=GetFeature&typeName=xxxx:lineview&srsName=EPSG:4326&...
0
votes
2answers
648 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({ ...
1
vote
1answer
348 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
1answer
777 views

Using Checkboxes in Layer Tree of GeoExt?

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', ...