此软件包在后台使用MAPMYINDIA的REST API。

特点

  • 自动建议API
  • 静态地图API
  • 地理编码API

入门

将软件包添加到您的pubspec.yaml文件中。

map_my_india:
  git:
    url: https://github.com/Jagrajsinghji/map_my_india
    ref: main

用法

首先,您必须设置您的MapMyIndiaAccountManager并调用MapMyIndia实例上的configure

MapMyIndiaAccountManager accountManager =
MapMyIndiaAccountManager(apiKey: "your-api-key", clientId: "your-client-id", clientSecret: "your-client-secret");
MapMyIndia mapMyIndia = MapMyIndia();
mapMyIndia.configure(accountManager);

附加信息

我们将继续更新此软件包以包含其他API。欢迎提交PR。

GitHub

查看 Github