Questions tagged [ext-js]

Ext JS is a JavaScript library for building interactive web applications using techniques such as Ajax, DHTML and DOM scripting

Filter by
Sorted by
Tagged with
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
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
0answers
46 views

Is it any way to add more that one OpenLayers.DynamicMeasure?

I would like to make a feature to my webapp, which I could show sum of two(or more) Polygons.. But... When Im drawing another polygon, earlier one disappeared, when I change this.layer.addFeatures([...
0
votes
0answers
201 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 ...
0
votes
1answer
692 views

ExtJS custom popup on OpenLayers 3 (and the terrifying event propagation problem :O)

I'm trying to make work a custom popup with a datagrid. The popup visually displays correctly, but the problem is how events propagate. The popup is an ext panel (with a datagrid) who is rendered on ...
1
vote
1answer
106 views

List of all features inside a buffer (Web map)

I have web map, created in the combination of: ExtJS 5, Openlayers 2, Geoext 2, and Geoserver. My layers are in postgis linked to geoserver. My scenario are 1 base map, an 10 normal layers. Actually ...
0
votes
1answer
336 views

Google Places search implementation

I have a Heron/Geoext/ExtJS map. I found a site with this function and I would like to implement it. So how can I use this function without their MapCentia.gc2 function? How can I rewrite it to use ...
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. ...
-1
votes
1answer
299 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 ...
0
votes
1answer
562 views

Using ExtJS 5 with OpenLayers 3?

I'm developing a web application using ExtJS 5 and OpenLayers 3. For displaying map I used the Google API and it worked fine. But when I switched to OpenLayers 3 I could not find any Ext.ux components ...
2
votes
0answers
271 views

GeoExt: Using children node not expanded problem in check function

I'm using children in a Geoext tree definition. If the node is expanded the function to see if children is checked or not (see the code) works, however when the node is not expanded it seems that ...
1
vote
1answer
321 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 ...
1
vote
1answer
432 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 : ...
2
votes
2answers
149 views

Ext and Openlayers problem color layer

I had symbolized different layers as you can see here: if (vector_layer.name == "Buffer"){ vector_layer.style = {fillColor: "blue", pointRadius: 7, fillOpacity: 0.3, strokeColor:"#...
0
votes
1answer
270 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 ...
1
vote
0answers
185 views

GetFeatureInformation button won't retrieve data

I'm using HERON with Google maps, everything seems to be fine except for the getFeatureInformation. I don't know if it's the layer sequence or the proxy setup or something else, because during the ...
1
vote
1answer
74 views

FileUpload UX plugin for Boundless?

I am busy building a web map app using boundless SDK. I am trying to implement a file up-loader, however, the majority of examples use new Ext.ux.form.FileUploadField When I try to use it in my ...
1
vote
2answers
2k 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
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, ...
-1
votes
1answer
917 views

Layer Tree and Layer Switcher (OpenLayers and ExtJS)

Is there any possibility to get only the Base Layers (for example OpenLayers) in the LayerSwitcher and only the Overlays in the LayerTree? I tried "'displayInLayerSwitcher': false", but with this my ...
2
votes
1answer
696 views

Using Extjs 5 & OpenLayers 3

To consume geojson data from a REST HAL CORS webservice, in client side i'm using ExtJs 5, but to map data having geometries i'm stuck between choosing geoExt2 which has a branch based on extjs5 and ...
0
votes
1answer
6k views

Adding button icon ExtJS

i created grid panel using ExtJS with bbar button, the buttton appears to be similar with the background of the panel which makes it to resemble like plain text not really button. so i want to add ...
0
votes
0answers
600 views

'select' listener in xtype combo, scope issue with IF?

I wonder if this is a problem of scope. The thing is that I select an option in a xtype combo (extjs3.4) and that selection at first can be read outside and inside an if section (attached image). Now, ...
0
votes
1answer
42 views

Compare getValue with map.layers[i].name

As part of a xtype combo, I would like to know if the layer I choose in my simple data store (represented by this.getValue()) is present in the map layers. So if it does, A should occur, and B if it ...
0
votes
1answer
595 views

Legend in GeoExt.tree.LayerContainer

Using the code below in this jsfiddle example: tree = new Ext.tree.TreePanel({ renderTo: "tree", root: new GeoExt.tree.LayerContainer({ text: 'Map Layers', ...
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 ...
3
votes
1answer
1k views

OpenLayers 3 OSM layers in ExtJS 5 looks stretched

I've created OL3 OSM layer in ExtJS 5 (previously did it with OL2). On my desktop everything looks fine , but on the mobile phone the map looks stretched (This is denver for example). This is the ...
1
vote
0answers
143 views

Error during visualization of many layers on Chrome (ExtJS, GeoExt, OpenLayers)

I've noticed that on the latest version of Chrome (36.0.01985) my application crashes when a lot of layers are displayed (and/or the browser is maximized and the map is zoomed out). In particular, the ...
3
votes
2answers
1k views

how to make a delay to wait for the map to load

What code could I use to make it wait for the program to load the map first after the zoomIn command? Here's a part of my code. for (var z = zoomfrom; z <= zoomto; z++) { var scale = ...
4
votes
0answers
301 views

Customizing GeoExt 2 ComboBox?

I'm trying to customize the GeoExt.form.field.GeocoderComboBox to use Here maps geocoder. I can get the label field to display in the combo box and also convert the position into the format I need ...
3
votes
1answer
553 views

Layer is refreshed after an ajax request with openlayers

I can't understand why my vector is empy after this ajax request : function loadKMLTMINT(terminalcode) { MapPanel.el.mask(); Ext.Ajax.request({ url: 'php/GetKMLTM.php', ...
1
vote
1answer
549 views

Can GeoEXT 2.0 be used with ExtJS 5.0?

I've just been looking at Ext 5.0 which has some changes. I'm wondering if it's compatible with GeoExt 2.0. There seems problems with GeoExt.Popup
0
votes
1answer
214 views

Change layer styles based on ComboBox search?

I'm using a combination of OpenGeo Server components and hand written GeoExt code to create a map interface. I would like to have a ComboBox that queries the OpenGeo PostGIS database in order to ...
1
vote
1answer
241 views

search a point of interest using GeoServer

I develop an application of webmapping using GeoServer, GeoExt and ExtJS. I want to search my points of interests (layer that exist in GeoServer) so i create a two combox where i have to put the ...
1
vote
0answers
403 views

Looking for mobile web app map control that can handle layer redraw with good performance

I would like to develop mobile web app to track GPS coordinates in real time (refresh every 10 seconds) from Geoserver. Currently I have desktop site I wrote in ExtJS 4 and it works pretty well (...
0
votes
1answer
162 views

WMS Geometry Vector point label Styling

How can we add category based styling to geometry point my application show geoserver rendered map, and all the map POI are directly fetched from database and shown to the map.i need know how we can ...
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", { ...
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 ...
0
votes
1answer
2k views

ExtJS+GeoExt LayerTree (Map and Tree in separate views) Cannot get layers store to work

I have an Ext application i'm setting up and one of the page panels is a GeoExt map. The layerout of the map area is set up like this: MapTabs - Arctic Map Tab - Map View - Layer Tree View -...
0
votes
3answers
2k views

ExtJS 4.2 layout crush on latest chrome but not on old one in full screen

I've noticed that only in chrome my GeoExt app crush when I open many layers. If I resize the window , the layout seems to look good , once I resize to bigger screen , it mess again. The app code ...
1
vote
1answer
988 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
266 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( ...
2
votes
1answer
10k views

OpenLayers is not defined while accessing over the html and js

The above is my working directory, all html files are under WebContent folder and the problem is that when all the code is written in a single html file working fine. If I split the OpenLayers code ...
1
vote
2answers
672 views

GeoServer map layers/tiles Loaded in the screen or Not

I'm using OpenLayers - 2.11,GeoServer 2.13, ExtJS 3.4, and Java for developing GIS based web applications. Please guide me to check if all my GeoServer map layers/tiles Loaded in the screen or not. ...
2
votes
1answer
2k views

GeoExt2 How I make subnodes in Layer Tree

I'm loading WMS layers to OpenLayers map in the following way : Here is a JSFiddle example : http://jsfiddle.net/Alophind/9r95T/ function LoadLayers(data) { jQuery.each(data, function (i, val) {...
0
votes
1answer
359 views

Map is broken on GeoEXT when dir=rtl in chrome (pics inside)

I've created a GeoExt app with simple map and east panel. When I change the dir to rtl it works fine in FF but in Chrome the map isn't scrollable. LTR: RTL: Here is the link to my site (with the ...
1
vote
1answer
166 views

How to unselect WFS feature using geoextjs2?

I am using Openalayer 2.12, extjs 4.1 and geoextjs 2. I have created toolbar using geoext js Using link. Now in this link you can find select feature. but i have modified the code as action = Ext....
2
votes
1answer
3k views

How to create 3D web application using Open Source GIS software?

I'm using OpenLayers - 2.11,GeoServer 2.13, ExtJS 3.4, and Java for developing GIS based web applications. How can we create GIS based 3d application like below attachment using opensource softwares ...
1
vote
1answer
2k views

Show previously loaded tiles while loading (zoom in or zoom out) map

How to remove the white tile part(map loading area). While zoom in and zoom out, the white tile part is appearing on the map(map loading area). How can we fill that area with the history image? Is ...
1
vote
1answer
91 views

Obtaining a handle for newly created map in GeoExt

Hopefully a straightforward question... I am following the example based on this page here http://www.geoext.org/lib/GeoExt/widgets/MapPanel.html to create a map within a window, here's my code: new ...