Skip to content

Repository files navigation

iPostMap for Flutter

ipostmapplatformpub packagegithub issues

A Flutter plugin that provides a iPostMap widget.

Minium Android/iOS SDK version support

Android

Required Android SDK 21 or higher

Set minSdkVersion in android/app/build.gradle

android {
defaultConfig {
minSdkVersion 21
}
}

iOS

Required iOS 12.0 or higher

Setup API key

The API key is a unique identifier that authenticates requests associated with your project for usage and billing purposes. You must have at least one API key associated with your project.

Get an API key at https://map.ipostmap.vn/developer/key

Android

Provide access key from android/app/src/main/AndroidManifest.xml

<manifestxmlns:android="http://schemas.android.com/apk/res/android">
<application>
<meta-dataandroid:name="vn.map4d.map.ACCESS_KEY"android:value="YOUR_KEY_HERE"/>
</application>
</manifest>

iOS

Provide access key from ios/Runner/Info.plist

<key>Map4dMapAccessKey</key>
<string>YOUR_KEY_HERE</string>

Simple Usage

import'package:flutter/material.dart';
import'package:ipostmap_flutter/ipostmap.dart';
voidmain() {
runApp(MyApp());
}
classMyAppextendsStatelessWidget {
constMyApp({super.key});
@overrideWidgetbuild(BuildContext context) {
returnMaterialApp(
title:'iPostMap',
home:MFMapView(),
);
}
}

See example directory for more examples

Documents

About

iPostMap SDK For Flutter

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages