Moving/Dragging Markers manually
-
On a Marker Map, I know it’s designed so markers can be dragged manually, however it seems mine jump-move when all I do is click elsewhere on the marker map that I’m editing. Is this supposed to happen? And if so, how do I reposition a map without the marker moving off its proper placement?
-
Hi Janjo,
moving marker icons on marker maps is possible by dragging the icons or clicking somewhere on the map – this is intentional.
A marker map is always centered on the marker icon, so you cant reposition the marker map. If you create a layer map though,
and assign the marker to this layer map, you can reposition the center of the layer map (there is a black pin showing the center,
that can be moved by dragging or clicking on the layer edit page).
best,
RobertHmmm. I very much appreciate being able to move a marker by dragging it. However I’m not at all thrilled that if I simply click somewhere on the map that it’s going to knock the marker out of its intended place. Is there a way to disable that from happening?
Here’s the thing. I had to disable scroll zoom because too many people who tested my site said that as they scrolled down the page, suddenly the map would scroll (it’s centered in the post so the curser is going to be centered over it if a person is scrolling down the post itself). So if I disable scroll zoom for front end, it also stays disabled in edit screen. There’s just too much of a built in tendency to click. If I simply click, though, then whammo, without my even knowing it, I’m moving my marker. You see how this can be problematical?
Hi Janjo,
the most used approach for setting a marker center is to enter an address, which moves the icon to the appropriate location. Then finetuning can be done by either dragging or clicking the icon to the exact location (if geolocation from Google places is incorrect for example). So usually there is no need to click on the map after the icon is positioned. Dont really know how to solve this for you, disabling the option to move a marker by clicking would break the most common workflow for many users (dragging markers to the exact spot has been added a few weeks ago only, so if I change this now, I would confuse most of my users which have been using the plugin for 1 or 2 years). Hope this is understandable for you.
best,
RobertYeah, I just discovered that in edit mode, if I click AND move the map a bit, then it doesn’t disturb the marker’s placement. If I just click and don’t move the map, then whammo, that moves the marker.
Just out of curiosity, I see absolute value in ability to drag the marker. It’s actually imperative since in one marker map I entered the address in, double checked it twice and it kept being placed in the wrong place. I had to drag it into place (this happened in a couple of cases so geolocation was flat out wrong).
But I see no value in having it jump out of position just by clicking somewhere else on the map. Not only does it beg for unintended moves of markers, but where it moves to is fairly arbitrary. In other words, if I click 3 inches away, the marker moves maybe an inch. Or whatever. Some arbitrary amount.
Could you explain what the value is in moving it that way at all, if dragging it is not only easier, but so perfectly precise? Maybe I’m missing something. Or for all I know it’s an all-or-nothing thing in code or whatever.
well, there is a value for clicking and setting the icon to a new position: say you have the icon in the center, then you drag the map wide away to find the spot you were looking for, meaning the icon is not on the map anymore when you search for that spot. Without having the possibility to click, you would need to drag the icon all way long, which is not as comfortable, especially as when you drag the icon, you cannot drag the map too, you only can zoom in and out.
Okay. I suppose if I had to move it from Iceland to Oklahoma, that would have value to me. (teasing). Okay, I’ll just be SUPER FREAKING CAREFUL from now on not to dare clicking anywhere on the map in edit mode. Man, it’s a long ingrained habit to be clicking for a number of reasons, but will program it into my head not to do that no matter what. Thanks though. 😉
The topic ‘Moving/Dragging Markers manually’ is closed to new replies.