Questions tagged [drag-and-drop]

The tag has no usage guidance.

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

QGIS - Working in the attribut formular with Widgets

I want to transform my attribut formular for biotopes to add automatically their value depending on two former columns. I have an excel table like this: Code rating1 rating 2 value A dry species-...
Geographika's user avatar
1 vote
1 answer
1k views

Leaflet - Update position of different markers on drag

I created several markers from data saved in an array. Now, I want to make draggable these markers and get the new positions of them in some inputs. Unfortunately I don't understand how to update ...
Andry's user avatar
  • 111
0 votes
0 answers
639 views

Prevent map click on draggable MarkerCircle dragend

I need to add new draggable CircleMarker to the map when a user clicks on the map. Then the user should be able to move the circles around to change their position. The code below works adding new ...
Stefano's user avatar
  • 121
2 votes
1 answer
113 views

Connecting to "drag and drop - add raster event" in QGIS

It is not clear to me how to connect to a qgis.gui.QgisInterface drag and drop event (signal) when adding a new raster to a project. I have tried to do this, but with no success: def ...
Comrade Che's user avatar
  • 7,051
2 votes
2 answers
295 views

Drag Scale on Leaflet?

Is it possible to drag the scale on a Leaflet map ? L.control.scale({'position':'bottomleft', 'metric':true,'imperial':false}).addTo(map); I used this possibility for a wind rose with this code north....
Manard82's user avatar
  • 187
0 votes
1 answer
673 views

How to get EPSG:4326 coordinates on Drag and drop in OpenLayers

I followed the example on how to implement a drag and drop interaction with openLayers. I now want to read the coordinate of every features like the following this.dragAndDropInteraction.on('...
Raphaël Balet's user avatar
1 vote
0 answers
38 views

Relation 1:n in Drag and Drop is not saved, when I open the project file again

My new created relation 1:n in the "Drag and Drop Layout" is not saved when I open the project file again. When I look at the layout the field is empty, but I can delete it and put it there ...
QGISANNA's user avatar
4 votes
1 answer
811 views

Drag and drop interaction error handling in OpenLayers

I'm trying to handle errors when doing drag and drop interaction for GPX files in OpenLayers 6.4.3, like for example when file being dropped has wrong format. I found out that in the case of parse ...
TomazicM's user avatar
  • 25.1k
2 votes
1 answer
289 views

Unable to add any tool to Model - drag and drop only adds the Default Geodatabase - ArcMap 10.7

I am probably missing something silly, but I cannot add any tool to the my newly created model (or to any old ones) in ArcMap 10.7. If I try to drag and drop any tool, the default .gdb appears in ...
Geo_explorer's user avatar
1 vote
0 answers
641 views

Leaflet draggable Zoom Control

My goal is to make Zoom Control movable in a leaflet map. For this I tested this code. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Creating Draggable ...
astridx's user avatar
  • 595
2 votes
1 answer
457 views

Dragging and dropping from Catalog Favorites of ArcGIS Pro

I'm slowly transitioning from ArcMap to ArcGIS Pro (2.3.0) and I'm facing a quite frustrating UX problem: I can't drag and drop layers from the Catalog pane to the map if it comes from the Favorites ...
Léo M's user avatar
  • 620
0 votes
0 answers
411 views

How to create a map-based survey with drag-drop capability?

I am an urban planning master student. I need to create a map-based survey for my research. The survey should allow users to drag some different points from the toolbar to the map showing next to it. ...
Cemil AL's user avatar
0 votes
1 answer
3k views

How can I stop 'drag' moving my whole map in Leaflet.

I have a leaflet map, containing a tileLayer, and a layerGroup In the layerGroup, I plot circleMarkers, and then connect them with a polyline. Though the markers are defined as draggable, I get no ...
Auspex's user avatar
  • 153
3 votes
2 answers
6k views

How to rotate, move or modify features using Leaflet?

I am looking for a Leaflet pluging for move (drag and drop), rotate or change a polygon or polyline feature. Also I´d like to capture the feature vertex coordinates once it has been moved to the new ...
kamome's user avatar
  • 757
3 votes
1 answer
1k views

Determining if another marker (Point or Polyline) where marker Point dragged in Leaflet?

I'm trying to create interaction between 2 markers with Leaflet, I would like to be able to drag a marker onto another Either between one point and one linestring, or between 2 points. I added the ...
Thibault's user avatar
  • 141
0 votes
1 answer
740 views

Enabling Drag and Drop from TOC to Python Script Tool?

I am creating an ArcTool and wanting to have my input parameters encompass a drop down menu where files in the TOC can be chosen. The tool is shown below I currently have a .csv and .shp sitting in ...
Harmzy15's user avatar
  • 111
0 votes
1 answer
1k views

OL3 check constrain point drag to lineString?

I am wanting to allow the user to be able to drag a map marker, in OpenLayers 3, but constrain the dragging to the lineString that represents the route. Based on the code example on Stack Exchange I ...
Andre M's user avatar
  • 279
0 votes
2 answers
1k views

Leaflet map altering page scroll behavior

When scrolling down a page and past a leaflet map, if the user's mouse cursor is inside of the map, then the scroll bar stops and the browser window becomes stuck on the map. Is there a way to ...
Learning stats by example's user avatar
0 votes
0 answers
265 views

Drag and Drop in Openlayers

I have a number of vector layers, I want to be able to drag a feature off the map and drop it into a native application. Note, I do not want to move the features around, I already do that when in a ...
vickirk's user avatar
  • 103
0 votes
1 answer
2k views

OpenLayers 3 drag and drop interaction with custom projection?

I am trying to add layers by using drag and drop interaction. Here is jsfiddle.http://jsfiddle.net/anuket/umdwzn10/ It almost works, I mean new layer is added, but for Geometry it gives "NaN". Geojson ...
Anuket's user avatar
  • 371
1 vote
2 answers
625 views

Problem by changing the order of Layers in QGis Layer Tree

I'm using QGis 2.4 on a virtual machine (Ubuntu 14.4 with XFCE). I'm connected to the VM via vncviewer, what works pretty well. But now I want to add some more layers to an existing QGis Project. ...
user39339's user avatar
3 votes
0 answers
949 views

Unable to add shapefiles via drag and drop - QGIS 2.4 OSx [closed]

I have a clean install of OSx Yosemite Beta 5, with homebrew install of QGIS 2.4 and all its basic dependencies. -QGIS version 2.4.0-Chugiak -QGIS code revision exported -Compiled against ...
dfd's user avatar
  • 49
1 vote
1 answer
160 views

OpenLayers drag control returns wrong XY

I am trying to use a Drag Control in a web GIS. My problem begins when I finish the 'move' of a point. That is, originally the point has an XY like -8.308567019533697 and 41.376871762432685, ...
pdcc's user avatar
  • 121
6 votes
4 answers
15k views

Dragging a feature in OpenLayers 3

I'm trying to replicate something that was fairly easy in OpenLayers 2 in OpenLayers 3, which is: dragging an existing feature to a new location on the map. In OpenLayers 2 I just added a DragFeature ...
Danny Hoek's user avatar
2 votes
0 answers
648 views

Leaflet Drag and drop to change existing markers

I'm working on a project where the user should be able to drag an image to a pre-existing marker and have the marker update color if the value of the marker (a value w/in the geojson) and image (a ...
user2154066's user avatar
3 votes
1 answer
2k views

QGIS 2.2 Attribute editor layout "Drag and Drop designer" field does not exist in datasource

I am experimenting with a new feature available since version 2.2 "Relations" where foreign key relations from a database can be documented, so that the QGIS UI can (auto) generate its attribute ...
Jan's user avatar
  • 31
0 votes
1 answer
71 views

Copy, Drag and Drop parcel

Using 10.1 ArcGIS, how can you SELECT the parcel tract and MOVE IT to another part of the map? I have done that by accident in the past, but when I do need to do that, can't figure it out.
Zoran's user avatar
  • 1,601
1 vote
1 answer
1k views

Drag and Drop onto ArcGIS Runtime WPF Map

I'm looking for advice on implementing drag & drop onto the WPF map control. My goal is to drag from a list of items, and drop on the map to create a new graphic/feature at the drop location. The ...
Keith G's user avatar
  • 669