Swiftpack.co -  geoadmin/lib-open-swiss-maps-sdk as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
geoadmin/lib-open-swiss-maps-sdk
Android and iOS SDK to display maps and geodata of swisstopo. Owner: simonroesch, Deputy: gjn
.package(url: "https://github.com/geoadmin/lib-open-swiss-maps-sdk.git", from: "1.1.1")

Open Swiss Maps SDK




Android and iOS SDK to display maps and geodata of swisstopo

Free map layers and geo data by swisstopo in your app

Offer your mobile users the official maps of Switzerland and many other maps and data of swisstopo in your app! Integrate them easily with the "Open Swiss Maps SDK". The data is available for free thanks to Open Government Data (OGD) and can be used freely. More Information about OGD: www.swisstopo.ch/ogd

Getting started

Readme Android

Readme iOS

Features

  • Displays swisstopo map layers:
    • Landeskarten (farbig)
    • Landeskarte 1:1 Million | LK1000
    • Landeskarten (grau)
    • Landeskarte Winter | LK10, LK25, LK50, LK100
    • SWISSIMAGE Hintergrund
    • Luftfahrtkarte ICAO
    • Segelflugkarte
    • Sperr- und Gefahrenzonenkarte
    • Dufourkarte Erstausgabe
    • Siegfriedkarte Erstausgabe
    • Eisenbahn swissTLM3D
    • Strassen und Wege swissTLM3D
    • Seilbahnen swissTLM3D
    • Wanderwege
    • Wanderland
    • Veloland Schweiz
    • Mountainbikeland Schweiz
    • Hangneigung ab 30°
    • Hangneigungsklassen ab 30°
    • Wildtierschutzgebiete
    • Wildruhezonen
    • Schneeschuhrouten
    • Skirouten
    • Einschränkungen für Drohnen
  • Numerous more layers available through the WMTS service of Swisstopo
  • Combine multiple layers on top of each other
  • Full mobile map experience with touch & gesture handling
  • Update camera to show or animate to different parts of the map
  • Add your own polygon layers or icon layers

...and more to come soon!

Architecture

To support both the Android and iOS platform, most of the code-base is written in C++ and shared between the two platforms. The Kotlin and Swift interface bindings are generated with a fork of the Djinni library. The library intentionally is designed to have a modular structure, so that most parts of it can be adjusted or completely replaced with custom implementations. Most of the interfaces are also exposed to Swift and Kotlin, so extensions can also conveniently be programmed in those languages.

OpenMobileMaps

The Open Swiss Maps SDK uses Open Mobile Maps as its core. Open Mobile Maps is a lightweight and modern Map SDK for Android and iOS. More information about this can be found on openmobilemaps.io or on Github.

License

This project is licensed under the terms of the MPL 2 license. See the LICENSE file.

Terms of use for free geodata and geoservices (OGD) from swisstopo

GitHub

link
Stars: 14
Last commit: 6 days ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

1.1.1
8 weeks ago
  • fixes iOS Readme instructions

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API