fpw / avitab

X-Plane plugin that displays a tablet to aid VR usage
GNU Affero General Public License v3.0
301 stars 59 forks source link

Feature Request: option for default map #111

Open BigKananga opened 2 years ago

BigKananga commented 2 years ago

The default map is the online OTM map. Many users have their own offline maps like OpenFlightMaps. This results in 2 nasty things:

  1. you've always to switch at the beginning of a flight
  2. map tiles will be downloaded automatically

Therefore an option to set the default map would be very useful. Also an option to set a custom online map would be nice.

cyberang3l commented 8 months ago

@fpw this is resolved with the introduction of custom maps and mapconfig.json in #176 , isn't it?

When the config is correct, the first enabled map that is found in the config is used as the default map. As a bonus, we now also support letting users choose their favorite default map by modifying the config.

Documentation about the mapconfig.json is in PR #166, #168 and https://github.com/fpw/avitab/pull/169#issuecomment-1807170528

BigKananga commented 8 months ago

@cyberang3l Is it possible to choose an offline map placed in X:\X-Plane 11\Resources\plugins\AviTab\MapTiles\EPSG-3857 ? Since the code isn't in the current release, I can't test it and in the topics you linked I can't see an example that shows this.

cyberang3l commented 8 months ago

Never mind. I missed the "offline" part. The newly added feature only allows to select the default map only if it's an online map (this can be the OpenFlightMaps though).