dgis_mobile_sdk_full 12.3.0 dgis_mobile_sdk_full: ^12.3.0 copied to clipboard
Full version of DGisMobileSDK for Flutter
dgis_mobile_sdk_full #
Full version of DGisMobileSDK for Flutter
This package allows you to add a 2GIS map to your application. Using this SDK, you can display a map on the screen, add markers to it, draw geometric shapes, build routes, get information about objects, control the camera, and so on.
Map data supports OGC standards.
Obtaining access keys #
To work with the SDK, you need to obtain a key file dgissdk.key
with the obligatory indication of appId
of the application for which this key is being created. The key will be used to connect to 2GIS servers, obtain geographic data, as well as to use offline and the navigator. This key is unique to this type of SDK and cannot be used with other SDKs from 2GIS.
To get the key file:
- Fill out the form on dev.2gis.ru.
- Add the resulting key file to the application's
assets
.
After activating the key, you can register in your personal account Platform Manager and view request distribution statistics.
Installation #
Android #
When building for Android, a binary artifact in the .aar
format is used. To connect correctly, you need to add a repository with this artifact to the build.gradle
of your application:
repositories {
maven {
url "https://artifactory.2gis.dev/sdk-maven-release"
}
}
Example app #
This package provides an example of usage in the form of an application located in the example
folder.
Before running the app, ensure you add your obtained dgissdk.key file to the assets folder of the application.