Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding MapProvider for small custom map #151

Open
TimThaler opened this issue Oct 8, 2019 · 0 comments
Open

Adding MapProvider for small custom map #151

TimThaler opened this issue Oct 8, 2019 · 0 comments

Comments

@TimThaler
Copy link
Contributor

Hello and thanks a loot for this awesome software. I really enjoy using it.
Now i want to add my own custom map. This map uses the mercator projection but shows only a fraction of the world. (Like the provided Latvian and Lithuanian maps).
I struggle a lot to put this map into the right focus. Either the boundaries are not matching or the
tiles get not computed correctly.
Could someone help me with the setup of the following properties:

  • orignX/orignY -> I do not know how to calculate these two values.
  • I know the tile-resolution pre tile pre zoom level on the map (e.g. Zoom:0 resolution: 500km....)
    but how can i calculate the values of the function public static double GetTileMatrixResolution(int zoom)

Thankful for any advise (:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants