Comments (4)
Hi,
I'm not sure this is fixable as such. The map itself is very independent of the app, it's a leaflet
-based add-in -> https://leafletjs.com/
Here's the issue: when the user clicks on an image the app tries to estimate the relevant area for the image on the map and then puts the image on the map with the coordinates +/- some area. This is so that 1) we are not showing the whole globe literally and 2) we are showing the area where the image coordinates are. In reality this is particularly important when the user selects more than 1 image so that the markers are all showing properly on the map in a way that's kinda "neither too small nor too big".
From a coding logic the way this works is that when the user clicks on any number of images the map is reset, then for each of the coordinate pairs in the clicked-image-list we record those coordinates someplace and then calculate the extremes of the coordinates to form an area to show. This is largely because if the user was to unselect one image out of the possibly many selected it's a lot easier to redraw the whole thing than to attempt to find a marker on the map (reasoning being is that markers are not named entities and if user has more than 1 selected then it becomes impossible to "undo" one particular marker)
So when user select a different image, even one with identical coordinates to the previous the area box coordinates that get sent to the map are reset and the marker for the image gets put on the map.
Admittedly at the moment I'm not sure how to read the zoom level from the map without it being clicked anywhere, but that's relatively irrelevant in the big scheme of things because in map.html
the fitBounds
code logic defines where to point, which as per documentation comes only with the maxZoom
option, which is already being used so a zoom-per-se can't be enforced (and would not be possible either as per above explanation).
from geotagninja.
Just guessing, could this be depending on the coordinates. I'm trying to geotag images in Lisbon, ~9 deg West, so could the negative longitude cause issues.
from geotagninja.
The zoom always resets regardless of East or West orientation because when you click on 1 or more image the app calculates a coordinate box/area to show all of the coordinate markers on the map and that sets the view.
You can try the Development version as I did poke around with negative coordinates in it a while ago (in particular regarding showing them on the map) tho I think that change is already in the Main branch too.
from geotagninja.
The development version I downloaded from the Google Drive works correctly.
from geotagninja.
Related Issues (20)
- Exception when trying to select time zone in GPX import dialog HOT 2
- Manage Favorites missing option to change country HOT 4
- Copy-Paste tags copies also times by default HOT 2
- Application fails to process full gpx file to all images HOT 3
- Sorting by Taken Date sort alphabetically, not chronologically HOT 1
- Imperial measurement option? HOT 11
- Hangs on startup HOT 8
- GeoTag write issue HOT 13
- HEIC files cannot be previewed HOT 9
- Current coordinate HOT 1
- Drag photo marker on map to change photo location HOT 2
- Open Coordinates in API fails - dots missing HOT 2
- Add toponomymName and/or name as option for Custom City Assignment Logic HOT 3
- Cannot save coordinates when path contains ÆØÅ HOT 2
- 1 files weren't updated due to errors HOT 5
- Crash when trying to load FOV and image has no FocalLengthIn35mmFormat HOT 5
- Bulk GPS editing, each photo has its own GPS coordinates HOT 10
- question / Marker popup to display a filename HOT 5
- Replicate destination lines in 'normal' mode HOT 7
- Updating GeoTags from a GPX file fails HOT 29
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geotagninja.