Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can you integrate Tencent map #50

Closed
huangred opened this issue Nov 15, 2020 · 4 comments
Closed

can you integrate Tencent map #50

huangred opened this issue Nov 15, 2020 · 4 comments

Comments

@huangred
Copy link

huangred commented Nov 15, 2020

integrate Tencent map

@xalanq
Copy link

xalanq commented Dec 11, 2020

@mattermoran
Copy link
Owner

@xalanq thanks! I added based on docs but I can't test as I don't have api key. Could you guys check and let me if it works?
You can install version from a branch feature/tencent by changing to this in pubspec.yaml file:

map_launcher:
    git:
      url: https://github.com/mattermoran/map_launcher
      ref: feature/tencent

@xalanq
Copy link

xalanq commented Dec 22, 2020

I don't have api key too LOL
Thanks for yr works!

@mattermoran
Copy link
Owner

Ok I had to signup to get api key for testing :)
Version 1.1.1 now supports Tencent Map and you also should be able to pass any additional query params in this case api key something like this:

map.showMarker(
  coords: coords,
  title: title,
  extraParams: {
    'referer: YOUR_API_KEY
  }
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants