Questions tagged [button]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
265 views

Sidebar and Button - with last version OpenLayers

I have a code with OpenLayers v4 with a sidebar component, according to https://turbo87.github.io/sidebar-v2/examples/ol3.html#home, working correctly. However, I needed to change to the most current ...
user12538529's user avatar
0 votes
0 answers
17 views

GEE App: Adding a computed layer to drawingTools.layers() and plot vegetation time series plots on ui.Map

I want to compute a buffer of 50m around the user drawn point using drawingTools. I want to save this computed buffer to drawingTools.layers() to be used later as the geometry on which my vegetation ...
asmita-deep's user avatar
0 votes
0 answers
63 views

Add Locate button LeafletWidget() in GeoDjango

I created a new widget that inherent from LeafletWidget() . I'm trying to add Locate Button to the map but i keep getting errors.r Widgets.py from django.forms.widgets import Widget from django.utils....
Wael Slogga's user avatar
0 votes
0 answers
30 views

GeoDjango real location points

I'm using GeoDjango to draw points/polygons in current location , but I'm getting this map which don't contain a geolocation button How can I add the current location button? Here is my code: Views....
Wael Slogga's user avatar
3 votes
0 answers
193 views

In QGIS 3 forms, QML button shows when photo is missing, but not when it is present

In QGS (3.28.4 LTR), I'm trying to add a QML button to a form that will open the attached photo when pressed, but have encountered the problem that the button appears when the attachment field happens ...
Avery Andrews's user avatar
0 votes
0 answers
39 views

QFIeld: Deactivating freehand button

Is it possible to disable the freehand digitizing mode (button on the left top) in QField? If so, how to disable this?
Lothar Ulferts's user avatar
1 vote
0 answers
869 views

How to make button in Leaflet in Front of Map [closed]

I'm making a map using a leaflet. And, the button that i created cant in front of the map. How to make the button appear in front of the map? this code in JSX : <div className="bottom-0 right-...
Evelyn Earlene's user avatar
3 votes
1 answer
4k views

Attach click function to the button inside a popup in Leaflet?

I'm trying to create a button inside a popup which will draw a line on the map when clicked. Line coordinates must be based on the properties of the point layer. I saw some ansewrs on stack and it ...
Maryla's user avatar
  • 158
1 vote
1 answer
264 views

How to execute automatic click event of ol.Control.Toggle button

I'm using a button in Openlayers ol-ext ol.control.toggle In a certain event, I set this button as active, however, it does not execute the click event. Blockquote button_draw_select.setActive(true) ...
user12538529's user avatar
3 votes
1 answer
615 views

Implementing PyQGIS code to action when pressing button in QGIS

I am interested in the creation of actions in QGIS 3.22. I have a Python script that multiplies the numbers from the fields "wert1" and "wert2" and writes them to the field "...
cc_schr_gis's user avatar
1 vote
1 answer
100 views

Setting QAction with no associated buttons in PyQGIS

I have a function that sets up some QActions and sets some keyboard shortcuts: def set_num_edit_shortcuts(self): self.right_next_action = QAction(parent=iface.mainWindow()) self....
tbob's user avatar
  • 594
-1 votes
1 answer
265 views

QGis2web - I want to add a button to the map which leads to another webpage

I am using QGIS2web plugin to create a nice page that shows some work-related spatial data. I want to make it nice as possible, and one idea is to have a few normal buttons, preferably directly under ...
Tom Tchibo's user avatar
1 vote
1 answer
878 views

Show popup on GeoJSON layer data when button is clicked?

I have a LineString geoJSON data, I want to show popup when button is click. My problem is, it's not showing whenever I click the button. It only shows when I click the LineString itself. My goal is ...
Wei Zhang's user avatar