Direction Marker

Started by Aubrey, August 10, 2018, 11:44:21 AM

Previous topic - Next topic

Aubrey

I'm having difficulties finding how to remove the direction marker from the map.
It's not showing up easily in the Help file.

Thanks,
Aubrey.

Mario

The direction marker is shown as long as your files have a destination coordinate. There is no command to remove the destination marker (or the marker) because this would require the Map Panel to delete the coordinates from your files.

You can delete the destination coordinate from your files in the Metadata Panel, if you want to do that.
To hide the "field of view" triangle (blue) switch the option off in the Map Panel menu (Gear button in the Map Panel toolbar).
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Aubrey

Hi Mario,
Now I understand.
I right clicked on a location icon in map window. Then clicked "Add image direction" and so this appeared. I'll remove it in the metadata panel.
However , if one adds direction in the map window, and later a user would prefer to remove it, it seem to me a bit clumsy to have to go into the metadata panel.

I now know not to click on this icon unless I really know the direction!

Thanks for quick response, I like 2018

Aubrey.

Mario

Direction is a somewhat misleading term. Actually you are adding a "looked at" GPS coordinate, and this forms the direction between the "camera standpoint" and "looked at" coordinates.
Most users will live happily forever without destination coordinates or image directions. And if you accidentally use the add direction command you can press click the Undo button in the toolbar.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Jingo

#4
Quote from: Aubrey on August 10, 2018, 01:23:00 PM
Hi Mario,
Now I understand.
I right clicked on a location icon in map window. Then clicked "Add image direction" and so this appeared. I'll remove it in the metadata panel.
However , if one adds direction in the map window, and later a user would prefer to remove it, it seem to me a bit clumsy to have to go into the metadata panel.

I now know not to click on this icon unless I really know the direction!

Thanks for quick response, I like 2018

Aubrey.

I was playing around with this the other day and made some modifications to the code that helps this process along a bit.  My workflow was to add the FOV direction after dropping a location pin on the map.  I zoom in pretty far when trying to pinpoint a building on the map and then drop a pin, save the location to the file, right click the pin and add the direction. 

However, the direction "target" shows up pretty far away on the map (I'm using a smallish map panel - but think I'm just going to create a new workspace with a much larger map for when I'm doing GEO work) and the right click box "pop-up box" remains on the screen after clicking.  I was able to modify the code to close the popup box after clicking the destination button (I'm a big proponent of auto-closing windows that are no longer needed)... and adjust the zoom to "auto-zoom out" a bit... this works for my scenario though the auto-zoom isn't ideal in all cases and making the map larger will correct this.   If interested - here is the code:


Program gmaps.js (would also need to be done in olmap.js if using openstreetmap)

                   $('#btn-create-dest').click(function(e) {
                        var m = mapPopup.markers[mapPopup.index];
                        // Begin Jingo code: close popup and zoom out map slightly after clicking button
      closePopup();
  self.gMap.setZoom(Math.max(14,self.gMap.getZoom()-0.5));
                        // End Jingo code
                        createDirection(m);
                        e.preventDefault();
                        return false;
                    });


I too think the ability to remove the FOV from a file from the map would be a nice feature... looking at the code, I know I can easily adjust it to remove the GPS data (new option on the popup via right click and removing the direction vars) and can also just add a "parentMarker.dest.marker.setMap(null);" to remove the destination marker and FOV.. but not sure this is ideal or whatever... and as Mario mentions, not sure how many folks will be manually doing this anyway... even I was just playing around with the feature and doubt I will do this all that often manually when setting location data!


mastodon

Oh, It would be nice to read this in the Help! I am did not find out from the Help file, how to remove direction markers, that I have placed accidently, sometime.

Mario

You are resurrecting a thread that is dead for two years.

Please open a new thread if you have a question. Explain what you want to do and what you think is missing from the help.
Note that the help system offers a feedback link at the bottom of each help page for this purpose. To report typos, wrong or missing info.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

mastodon


Mario

I have received your feeback email and added a new sub-section explaining how to remove destination coordinates and data.
This was never asked before (except once, perhaps) and hence not explicitly mentioned in the help file.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

mastodon