ionic-team / ionic-native-google-maps

Google maps plugin for Ionic Native
Other
221 stars 125 forks source link

can't load `places` library because the maps plugin loads the Google Maps API library #62

Closed collindutter closed 6 years ago

collindutter commented 6 years ago

I'm submitting a ... (check one with "x")

If you choose 'problem or bug report', please select OS: (check one with "x")

cordova information: (run $> cordova plugin list)

insert the output from the command here

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

Current behavior:

Is it possible to use this library alongside the Google Maps Places library? This forum post seems to indicate it is possible, but I get a warning when I try to include both the places library as well as this library.

Any suggestions would be welcome. Thanks!

Expected behavior:

Screen capture or video record:

Related code, data or error log (please format your code or data):

The person who share your project files on Github (or other git repository) is in faster lane than other people.
Please share your project files on Github or others(Bitbucket, Gitlabs...etc).
If you don't want to share your project files, please create a demo project, then share it.

Screen captures, and/or native logs(such as Logcat, xcode logs) are appreciate.

Giving much information, you are waiting time is less.
Thank you for your cooperation.
wf9a5m75 commented 6 years ago

The warning means you include <script src="https://...."> multiple times in one html file.

collindutter commented 6 years ago

Well the issue I think comes from Environment.setEnv({ API_KEY_FOR_BROWSER_RELEASE: '...', API_KEY_FOR_BROWSER_DEBUG: '...' }); Which creates a Githubissues.

  • Githubissues is a development platform for aggregating issues.