Skip to content

Add option to allow the user to select their preferred tile map provider #6

@Asempere123123

Description

@Asempere123123

Currently the projection mapping is broken, it doesnt display any background map. This is so because the Api key is not present.

Since this might happen again, even if fixed right now, it might be useful to add the option to allow the user to provide their own url for the map layer provider.

This option could be in many places, but it think those 2 make the most sense:

  • The url query params. We could add an optional query param (like cityscope=map), that if set changes the map provider. This is easy to implement.
  • It might make sense also to add it to the z menu, and also adding there more config options, like disabling showing the layer tittle (id) since it is sometimes unwanted.

Image
The z menu

I am willing to implement any of the 2 solutions once the other pr is solved. I opened this just to discuss what implementation works better with the rest of cityio

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions