Don't fit map to track on display changes

Started by lbo, October 22, 2018, 04:45:29 PM

Previous topic - Next topic

lbo

Hi all,

is someone else out here switching map views between different providers (Google <-> OpenStreetMap) or FOV on/off and wants the zoom to stay?

I spend a lot of time in maps to find the exact location of the image target or information about it, therefore I patched IMatch:


  • commented "self.onCenterTrack();" in olmap.js
  • commented "self.gMap.fitBounds(trackBounds);" in gmaps.js
Of course, this is only a crude hack because now I have no possibility to zoom the map to the track extents, but for me it's o.k. IOW not worth effort to change IMatch.

But maybe other users also switch between map views and want the current zoom to stay.

Oliver

P.S.: In these files I patched also the track width to 3 pixels (see thread "Thickness of tracklog" https://www.photools.com/community/index.php?topic=8233.0)