Questions tagged [context-menu]

A context menu (also called contextual, shortcut, and popup or pop-up menu) is a menu in a graphical user interface (GUI) that appears upon user interaction.

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

QGIS 3 running slowly

I've been using QGIS 2.14 pretty successfully for about two years. I do also have Arc but tend to use Q more primarily because it did run considerably faster. I then installed QGIS 3 as I noticed it ...
0
votes
1answer
110 views

Using JavaScript created select options as Leaflet map setContent

Working on a creating a custom CRS Leaflet map. On map rightclick, show a popup with select boxes for users interaction. var submit_Loc_popup = L.popup(); map.on('contextmenu', onPopupBoxSubmit); ...
0
votes
0answers
19 views

Related tables responding contextually to features when using ArcGIS Collector

I'm looking for the best way to design data for use in ArcGIS Collector as a means of inspecting infrastructure. The infrastructure can be limited to a handful of points, but the criteria for each ...
0
votes
0answers
55 views

Change action's context menu appearance?

I have a layer which has a canvas action. There are several features which are on the same location. When I trigger one of such features, the context menu pops up to determine which feature to select....
0
votes
1answer
780 views

openlayers interaction only on left mouse

Using openlayers (latest - 4), I have a drawing interaction that draws a circle - let drawCircle = new ol.interaction.Draw({source: source, type: "Circle"}); map.addInteraction(drawCircle); Both ...
2
votes
0answers
524 views

Mapbox GL checkbox menu

I am trying to toggle layers and legends using a checkbox menu. I'm able to toggle the bathroom and sq ft legends, but I'm not sure how to identify the layer layout in order to toggle it. Here is my ...
4
votes
1answer
718 views

Setting different context menu actions for each layer type with PyQGIS

I want to set different actions(context menu) for vectors,rasters,etc . class MyMenuProvider(QgsLayerTreeViewMenuProvider): def __init__(self, view): QgsLayerTreeViewMenuProvider.__init__(self) ...
2
votes
0answers
811 views

Leaflet.contextmenu plugin runs into Uncaught Type error under certain conditions

I'm working on a leaflet map application getting data from OpenStreetMap and use the Leaflet plugin Leaflet.contextmenu. I have defined a context menu on the map: var Map = L.map('Map', { ...
3
votes
1answer
1k views

Finding the children name of menubar in QGIS Python

I have try the code in Finding name of QGIS toolbar in Python? and Name of children of toolbar in QGIS python and how to disable? to show the children name of menuBar. But, get error. The children ...
0
votes
1answer
403 views

How to sequence overlapping GeoJSON using bringtoFront and/or zindex?

I currently have multiple GeoJSON polygons that overlap. I want to be able to layer them so I can click a GeoJSons a popup menu for that specific polygon to popup. Additionally, I want to have a side ...
4
votes
0answers
61 views

Is there a way to customize the Options dialog in QGIS 2.14.6?

I'm creating a deployment package to update QGIS from V2.8 (wien) to V2.14 (essen (LTR)). In QGIS 2.14 there is a new "Advanced" section under "Settings > Options", see screenshot: Can this menu ...
0
votes
1answer
352 views

right click sketch tool not working

When drawing a new Feature or editing an existing Feature it is possible to open the sketch tool by right-clicking onto the feature. This is not working anymore, the menu is not showing. The mouse ...
1
vote
1answer
91 views

Creating a menu interface to update an sde feature class in ArcMap using arcpy?

I work in electrical utilities and we have stacks of paper records that need to be updated into an existing SDE feature class attribute table. My problem is that someone in the city's GIS office would ...
3
votes
0answers
614 views

QGIS - Pop-up menu not displayed when right click on a layer in layer tree view

I'm developing a custom QGIS application using the QGIS API. I've been using the API provided with QGIS Brighton (Version 2.6.1) and have been developing the application in Python in a Windows 7 ...
1
vote
1answer
351 views

How to create custom items or commands for a context menu

I have read and searched the web for an answer, but nothing is working. so I need someone's help please. I have an extension that implements I command, I have the method OnContextMenu(x,y) which ...
2
votes
1answer
656 views

Why is context menu not showing?

I am trying to create and show a context menu for arcmap desktop 10.2. I have followed the steps in the link provided by esri, which explains that I must override OnContextMenu. I am not sure if I am ...
14
votes
1answer
2k views

Adding new menu item to QGIS Desktop app?

I need to add new menu item to the top level menu of QGIS Desktop (2.7.0); I.e. it shall be on same level as "Project", "Edit", "View", "Layer" etc. As far as I know there is pretty nice way how hide ...
2
votes
0answers
209 views

AxTOCControl - Using ArcMap context menu

Using Ax*Control's in a custom dialog that runs within ArcMap. When I right-click on a feature layer in the AxTOCControl, and go to display the context menu, is it possible to display and make usable:...
1
vote
1answer
406 views

vb.net arcobjects enable customized context menu item only if a feature is selected

The solution may be very simple, but I haven't made it work. I want to enable a data view context menu item only if a feature (in polyline layer) is selected, all other places the item should in grey....
2
votes
1answer
149 views

Is there a way to set the workspace on selected features

i´ve built in a tool for arccatalog which transfers GIS Files into shape Files. Everything is working so far, but i want it a bit more customer friendly. Atm it looks like this: You can right click ...
2
votes
0answers
174 views

Disable customized context menu for some cases using python

I create a python add-in tool to add new item to the context menu, but I want the new item enabled only when user right click on map when within a buffer of polyline feature. I haven't figure out how ...
5
votes
1answer
4k views

Customizing right click (context) menu of selected feature using ArcPy?

I want to confirm whether arcpy can customize the right click menu of the selected feature, which means I want to remove the default items and add in my own item. The following pictures show what I ...
1
vote
0answers
2k views

Right click context menu in OpenLayers 2

My code is this in Openlayers 2 I'm displaying two layers in a single map one with the world map and the other with my node information .. When I right click(on node layer only) I want to display ...