Skip to content

Instantly share code, notes, and snippets.

@otsaloma
Last active July 21, 2017 20:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otsaloma/10586309 to your computer and use it in GitHub Desktop.
Save otsaloma/10586309 to your computer and use it in GitHub Desktop.
MML peruskartta definitions for Poor Maps
{
"attribution": "Peruskartta © Maanmittauslaitos",
"extension": ".png",
"format": "slippy",
"name": "Kapsi MML peruskartta @1x",
"scale": 0.5,
"smooth": true,
"source": "kartat.kapsi.fi",
"url": "http://tiles.kartat.kapsi.fi/peruskartta/{z}/{x}/{y}.png"
}
{
"attribution": "Peruskartta © Maanmittauslaitos",
"extension": ".png",
"format": "slippy",
"name": "Kapsi MML peruskartta @2x",
"scale": 1,
"smooth": true,
"source": "kartat.kapsi.fi",
"url": "http://tiles.kartat.kapsi.fi/peruskartta/{z}/{x}/{y}.png"
}
@otsaloma
Copy link
Author

Just place this file in ~/.local/share/harbour-poor-maps/tilesources. That directory doesn't exist by default, but you can just create it.

@otsaloma
Copy link
Author

Since Poor Maps 0.16, you can try

    "scale": 0.5,
    "smooth": true,

in there if the font seems big. This will quadruple your data traffic, so expect the map to load slower.

@otsaloma
Copy link
Author

Updated. @1x and @2x versions to match current naming and related filters in Poor Maps.

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