Questions tagged [drag-and-drop]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
2 answers
63 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....
user avatar
  • 165
0 votes
0 answers
70 views

Drag and drop gpkg with raster and vector layer to QGIS

I have a geopackage file containing a vector and a raster layer. When I drag and drop it from my explorer to QGIS (3.16) only the raster layer is beeing loaded. When i open the gpkg from within QGIS ...
user avatar
0 votes
1 answer
185 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('...
user avatar
1 vote
0 answers
15 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 ...
user avatar
4 votes
1 answer
387 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 ...
user avatar
  • 17.9k
2 votes
1 answer
173 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 ...
user avatar
1 vote
0 answers
410 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 ...
user avatar
  • 555
2 votes
1 answer
326 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 ...
user avatar
  • 580
0 votes
0 answers
366 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. ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 153
3 votes
2 answers
4k 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 ...
user avatar
  • 737
3 votes
1 answer
860 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 ...
user avatar
  • 141
0 votes
1 answer
649 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 ...
user avatar
  • 111
0 votes
1 answer
925 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 ...
user avatar
  • 269
0 votes
1 answer
920 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 ...
user avatar
0 votes
0 answers
219 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 ...
user avatar
  • 103
0 votes
1 answer
1k 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 ...
user avatar
  • 371
1 vote
2 answers
580 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. ...
user avatar
3 votes
0 answers
855 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 ...
user avatar
  • 49
1 vote
1 answer
146 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, ...
user avatar
  • 121
6 votes
4 answers
14k 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 ...
user avatar
2 votes
0 answers
621 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 ...
user avatar
2 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 ...
user avatar
  • 21
0 votes
1 answer
66 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.
user avatar
  • 1,605
1 vote
1 answer
977 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 ...
user avatar
  • 669