Questions tagged [geoext]

GeoExt combines OpenLayers with Ext JS

41 questions
1
vote
1 answer

tooltip for WMS points with geoext

My idea is to get tooltip contains information about the point , these points return from WMS layer, i tried these ways: 1- with vector layer there is "graphictitle" when styling the points and it display a tooltip, but with WMS i could not find…
Reem
  • 63
  • 6
1
vote
0 answers

GeoExt form and file upload

I have a GeoExt form and want to do file upload here. But i never work with GeoEXT. I have this. buttons: [{ text: 'Загрузить', handler: function(){ if(fp.getForm().isValid() && Ext.getCmp('opinions').getValue()=="blabla"){ form_action=1; …
Kliver Max
  • 5,107
  • 22
  • 95
  • 148
0
votes
0 answers

How to remove a layer in openlayer 4

I am trying to remove a layer from a layerGroup. However I dont know how to proceed. I have a button where on click of the button , the layer should be removed from the list. olMap.getLayers().forEach(function(layer, i) { if (layer…
shubham
  • 23
  • 6
0
votes
2 answers

GeoExt: Change Filter via changing field name

In GeoExt 2, I have a form with one field and 2 radio buttons. I coded radio buttons to change name of that field to correspond with the convention of GeoExt. items: [ { xtype: "numberfield", itemId: 'parcel', name:…
ALalavi
  • 115
  • 1
  • 11
0
votes
0 answers

wfs layer features not fully loaded in the map

i am a bit new to openlayers 2. i have a layer of roads for a city that i want to loaded to the map using wfs protocol. the layer is huge and it does not fully displayed on the map this is the code i am having proxy: new…
Omran
  • 551
  • 4
  • 15
  • 25
0
votes
3 answers

How to use UX component in ExtJS 6?

I'm trying to use this component: Colorpick button (xtype: colorbutton) I'm pretty new to ExtJS and I don't know how and where to correctly define this type of button. Where should I put the source code and how should I include it correctly ? I'm…
kaycee
  • 901
  • 1
  • 9
  • 35
0
votes
1 answer

Filter (no display) layers in GeoExt.LegendPanel using LIKE operator

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: function(record){ …
Gery
  • 8,390
  • 3
  • 22
  • 39
0
votes
0 answers

WMS/WFS Search panel using geoext 2

How to create search panel using geoext 2 which would be fetch data from wms/wfs layer table. Can any one please suggest any example or code to do that.
0
votes
0 answers

'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, when I select another option, that selection is…
Gery
  • 8,390
  • 3
  • 22
  • 39
0
votes
2 answers

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 does not. The problem is that myLayer variable…
Gery
  • 8,390
  • 3
  • 22
  • 39
0
votes
1 answer

Loading nested GeoJson to FeatureStore with hasMany. Possible?

Is it possible to use associations while loading nested GeoJson to FeatureStore via vectorLayer? Ext.define('Employee', { extend: 'Ext.data.Model', proxy: { type: 'memory', reader: { type:…
0
votes
1 answer

OpenLayers 2 - How to manually change coordinates of point?

Is there any way to edit coordinates of the point manually? I want to edit a point just like I create: var point = new OpenLayers.Geometry.Point(newX,newY); var point_ft = new OpenLayers.Feature.Vector(point, null,…
Robert
  • 140
  • 1
  • 8
0
votes
1 answer

How to exchange data between FeatureStore and AJAX backend?

I'm new to Extjs4.2/OL/Geoext2 developing, and I'm confused about how it should work. --- edit --- I'm trying to write a small app to read GeoJSON, place read features on the map, let the user to edit them / draw new ones, and finally save them back…
0
votes
2 answers

OpenLayers overrides features id

I have a problem with OpenLayers + GeoExt2: I created a FeatureStore which features (downloaded via an API) contain an id attribute. When I try to represent the features in a grid panel, all the other attributes are properly represented (name,…
user3982320
0
votes
1 answer

GeoExt reload FeatureStore changing url

I'm trying to reload a GeoExt.data.FeatureStore changing url. This is my code: var vecLayer = new OpenLayers.Layer.Vector("vector", { protocol: new OpenLayers.Protocol.HTTP({ url: '/url', format: new…
ivy
  • 210
  • 1
  • 2
  • 14