Questions tagged [widget]
Small tools or extensions that perform a specific job.
153
questions
0
votes
0
answers
11
views
Is there an "Add Data Widget" equivalent for the ArcGIS Server JavaScript API?
The ArcGIS Web AppBuilder has an Add Data widget which:
allows you to add data to the map by searching for layers in ArcGIS content, entering URLs, or uploading local files. In this way, you can ...
3
votes
0
answers
53
views
QGIS - automatically complete habitat codes based on name
In a QGIS (3.22) form, I try to automatically complete habitat codes when I enter a habitat name. For this, I have a csv Table with the codes btcode and the names btname.
btcode | btname
1.1 | ...
3
votes
1
answer
36
views
Using overlay_nearest expression
I have a project in Qgis where I have 2 layers: 1. plot of land (in the project named as "lohko") and 2. observation.
I have joined the id of the plot of land layer to the observation layer ...
5
votes
1
answer
146
views
QGIS: How to sort Drop Down Lists in Value Relation Widget
I have some attributes in my data and want to enable the user to pick values from drop-down lists. The values of the drop-down list change depending on the chosen value of the previous field(s). The ...
0
votes
1
answer
81
views
Adding functionality to QField
I have a question regarding adding functionality to QField.
I'm currently doing a school project, where the customer involved would like to have a functionality to QField, where basically by tapping a ...
1
vote
1
answer
72
views
QGIS / QField wrong entry from value relation
I am absolutely puzzled what went wrong here:
I am setting up a project in QGIS 3.16.11 which should be taken into field with QField 1.11 in order to collect data about the local situation concerning ...
0
votes
0
answers
21
views
Edit widget-Fields-Check box multiple variables to (un)check
I'm making a treeplan with QGIS and QField. A tree has different attributes, length, hight, ... one of the attributes is the visual defects a tree can have. I'd like to use a checkbox, so I can ...
0
votes
0
answers
43
views
Use "calendar" input in DateTimePickerInput on FeatureForm widget in ArcGIS JS API v 4.x
There is DateTimePickerInput in FeatureForm widget which allows to edit date/date-time fields of a feature.
Is there any ability to use "calendar" input to pick a date with a mouse?
1
vote
0
answers
27
views
File type for value relation widget in a shapefile (QGIS)
In QGIS 3.18. This question is related to this one which has not been answered; my hope is that a broader question will help solve my problem.
I have a shapefile layer for which I want some attributes ...
4
votes
1
answer
53
views
Moving widgets fields to the top in QGIS
I would like to change the order of my widgets in the attribute form section.
But after changing the order of columns in the data attribute table, they remain still in the same order in the "...
4
votes
1
answer
140
views
Multiple attribute form views in QGIS
In QGIS 3.18. There are 3 ways of visualizing attribute information that I am aware of:
The attribute table
the Identify Features box
the Form view (accessible via either the attribute table or the ...
0
votes
0
answers
29
views
Cursor coordinates in ArcGIS Online
I use the coordinate widget in ArcGIS Online. I then get the coordinates when clicking in the map. Is it possible to get the coordinates "real-time" when moving the cursor?
1
vote
1
answer
25
views
Get Directions details from Directions Widget
I have created a Directions Widget as below
var directionsW = new Directions({
map: map,
routeTaskUrl:
"https://xxxxxxxxxxxx/arcgis/rest/services/...
0
votes
0
answers
13
views
Add ShowSaveButton in Directions widget arcgis api 3.38
I am working with Directions Widget with arcgis JS version 3.38
and want to display the Save button on the widget, so I have added the ShowSavsButton parameter.
But still can't displayed on the widget!...
0
votes
0
answers
9
views
Update Directions Widget SearchOptions/geocoderOptions Parameters
How can I change the Directions GeoCoder Service to let him point on my own Geocoder service
I have declared My directions as below, with the routeTaskURL
var directionsW = new Directions({
...
0
votes
0
answers
49
views
Identify click not properly shown result in CMV-calcite
I am using Calcite Map-CMV, facing issue on identify widget, it's not showing properly result on Mobile.
Screen is attached when I click on map, identify not properly shown.
0
votes
1
answer
172
views
Creating a dependent drop-down list in Google Earth Engine [duplicate]
I am trying to create a dependent drop-down list in Google Earth Engine that will respond to the input from the first list. I am basing this off an example provided by Google Developers... https://...
1
vote
1
answer
135
views
N:M relation in QGIS with custom form in Qt Designer
The manual: https://docs.qgis.org/3.16/en/docs/user_manual/working_with_vector/attribute_table.html#creating-one-or-many-to-many-relations describes how to create a N:M relation and how to use it with ...
0
votes
0
answers
56
views
ArcGIS Web AppBuilder Screening widget not printing map
I have configured the Screening widget for use with my application. When I print the report, all the data is printed but the map does not load. Any answers as to why the map would not show in the ...
1
vote
1
answer
27
views
Smart editor has disappeared from Portal Widgets
I'm just doing a sanity check to see if anyone else is having the same issue: Upon editing a Portal app which used to have the smart editor widget I can no longer select that widget as an option. It's ...
0
votes
0
answers
227
views
Mobile friendly Styling for Esri Widgets in JavaScript 4.x API and Calcite
Has anyone had difficulty (or experience) styling Esri widgets for mobile friendly use?
I am currently working on a routing application whose code structure (I believe) makes it impossible to access ...
2
votes
0
answers
77
views
Refreshing image in attribute form based on classifier using QGIS
We have two tables:
road_signs (road sign points).
lut_road_signs (classifier of road signs), this table has a column sing_img (blob) in which the image of road signs is written in png format.
How ...
3
votes
0
answers
342
views
QGIS: Using Filter expression for Drop Down Lists in Value Relation Widget
I have a vector layer and want to enable the user to pick values from drop-down lists. The values of the drop-down list change depending on the chosen value of the previous field(s). It works ...
0
votes
1
answer
255
views
How to make the Polygon tool the active tool when the Sketch widget opens?
Using the ArcGIS Server JavaScript API v4.18, I am adding the Sketch widget. My goal is to have the Polygon tool as the only available tool, and to have this tool active when the widget opens.
I've ...
1
vote
0
answers
70
views
Custom position of in-panel widget ArcGIS Web App builder
I need the opportunity to toggle between 'draggable' position of an in-panel widget (ArcGIS Web App Builder 2.19) and its fixed position in the footer of an application. Is there an option to do it ...
2
votes
1
answer
130
views
Does ArcGIS have something similar to Attachment Widget Type of QGIS?
I have shapefile and I would like to be able to add the path to a chosen file to its attribute in ArcGIS. It is a pretty straightforward task in QGIS. I simply changed the widget type of the field to ...
2
votes
1
answer
169
views
Widget Expand is not functioning correctly
I have placed 2 widgets (baseMapGallery, LayerList) inside a small map in a rather large popup. To keep it from crowding out the view, I am trying to use an Expand to launch it from a small icon ...
3
votes
1
answer
78
views
Displaying reference pictures to a varying value in QField
While developing a QField project for forestry inventories, I aim at displaying botany board related to the current selected species selected in a scrolling-menu for field operator. It should be used ...
0
votes
0
answers
35
views
ArcGIS WebApp Near Me widget is missing features
When I set up the Near Me widget in my Web App configured to 'Only draw selected layer results' the map view does not display all of the features in my layers (even before I have selected a layer in ...
2
votes
2
answers
84
views
Create interface for user input [closed]
I want to do something like this using Python and QGIS:
And I want to save what user input in each field in 4 variables.
Here is what I tried but it is not giving what I want:
import sys
class ...
7
votes
1
answer
3k
views
Value relation widget in QGIS
I would like to create a cascading select in QGIS using the value relations widget. I'm using QGIS 3.14 (pi) and all layers are stored in a geopackage. The geopackage shown in this example can be ...
0
votes
1
answer
256
views
Incorporate location selection drop-down widget into split panel Earth Engine App
I am relatively new to using the ui module for creating Earth Engine Apps. I used the split panel code from the Earth Engine example apps https://google.earthengine.app/view/split-panel to create my ...
1
vote
0
answers
149
views
Generating UUID(unique ID) at joining points
I have road network (lines) and points (Address) . With the help of closestSegmentWithContext function, I join points to nearest lines in QGIS. Is there a way to to generate a unique ID at every ...
1
vote
1
answer
35
views
Join/relation not an available widget option in the attributes form?
I cannot figure out why, but, in a tree/planting projects database, I have a fairly simply data model where I have one polygon layer to symbolize the area/project (eg. Maple Oak Park, John Smith ...
0
votes
1
answer
68
views
ArcGIS WAB Layerlist Popup Opacity
I'm having an issue with the Layer list popup menu in my WAB apps being slightly transparent, which can make the layer names harder to read. I would like to set the background opacity to 100% so that ...
5
votes
1
answer
143
views
PyQGIS add feature in layer with Value Relations in columns
Have a point layer (from geopackage) with value ralations widget in several columns. Trying to add new feature to this layer with the following code:
import uuid
layers = QgsProject.instance()....
0
votes
1
answer
344
views
How to attach pictures saved in relative path
I have a QGIS project saved under G:\USER\xyz\projects\QGIS.qgz
In the same folder is a subfolder Pictures. My layer contains a column with the picture names (For example: 101.jpg). The picture 101....
1
vote
1
answer
214
views
How can I use a custom .ui file (widget) as a popup in qgis2web?
I am exporting a map with qgis2web with popups. I have seen that I can make attributes and their labels show up on the popups. The problem is that I want to add a custom widget I created in QT ...
0
votes
0
answers
104
views
How to add a button to the Qdockwidget Layers in Qgis 3 with PyQgis
I want to add a plugin for styles to the layers panel. So I am trying to find a way to add a button to the toolbar of the layers-panel. Is this possible? If not is it possible to add a menu-item to ...
-1
votes
1
answer
468
views
Linking maps to dropdown menu in Google Earth Engine
I am attempting to make an interactive app to display air quality data but am new to using panels and widgets so am running into some issues that I hope can be resolved.
First question: Is there a ...
0
votes
1
answer
38
views
ArcGIS web app builder near me find my location
Anybody know where to find this in the near me widget config?
I built my last version with it but now can't find the option to add it anywhere.
2
votes
1
answer
387
views
Qfield 1.4.4 - value relation widget working on QGIS and not on Qfield - list of invisible unfiltered values
I am trying to use value relation widget (working on QGIS) in Qfield (which should be implemented in the latest releases).
I'm trying to use the widget to filter a long list of plant species.
A first ...
1
vote
0
answers
47
views
Restrict layers in attribute table widget in JavaScript?
I'm building a webapp, where you can change from several map services. In every map service there are several layers with same naming, but not with the same number of layers. I cannot set the ...
1
vote
1
answer
51
views
On the fly/Dynamic measuring not working on Measurement Widget with different Basemap
I am developing an application with OS Open Carto Map as a Basemap and I have added a Measurement widget in the app.
The measurement widget works fine for when the points are clicked for distance and ...
1
vote
1
answer
60
views
Making qgis2web web map display description rather than value of field with valuemap widget
I am making a web map with qgis2web which I want the pop-up to display the description rather than the value from a field which I have a value map widget on. Is this possible, or should I just make ...
0
votes
2
answers
136
views
restrict search to specific city - ArcGIS JS API 3.31
I'd like to use the Search widget to search for addresses and intersections in a custom web app (JS v3.31). Is there any way to restrict this search to a particular city?
I see how to restrict it to ...
2
votes
1
answer
81
views
ESRI JavaScript 4 - Shouldn't the editor widget honor definition expression?
If a feature layer has a definition expression defined, as in the code pen example, shouldn't you only be able to see and edit (select for editing) features that meet the definition expression?
It ...
1
vote
1
answer
615
views
Turn certain layers on and off in ArcGIS Web AppBuilder Developer Edition
Does anyone know a way in ArcGIS Web AppBuilder Developer edition that I can create a button or a link that turns certain layers on or off?
For example, if I have three layers
[1] Homes
[2] Rivers
...
3
votes
1
answer
550
views
How to create a Value Map widget type to select multiple values (checklist) from the dropdown?
I have a polygon layer that represents tree/shrub planting sites that were done. As part of the attribute table, I have fields representing things like tree density, species, soil work, tree size, etc....
6
votes
1
answer
306
views
How to set widget type to 'Attachment'?
I would like to make an open file dialog to appear in a field in the attribute table of a vector layer. I guess I need to set widget type to 'Attachment' for that field and to check 'Display button to ...