Implementing browser support
See original GitHub issueHey there,
Thanks for the awesome plugin.
I was wondering, how hard would it be to add browser support?
Did you guys try anything yet and had problems? or just not focusing on that for now?
I was thinking we could add a new file /www/browser/googlemaps-cdv-plugin.js and route all method calls to the javascript library (should be loaded by the user manually).
This can help people debug in the browser in real time, as well as use this plugin for any other platform supported by Cordova, or even the web.
If you think this is doable and will solve a problem, then let’s create a new branch for people to contribute to over time.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Can I use... Support tables for HTML5, CSS3, etc
"Can I use" provides up-to-date browser support tables for support of front-end web technologies on desktop and mobile web browsers.
Read more >How To Build Cross-Browser Compatible Websites - WP Engine
With the variety of options for browsers available today it is important to create a website that is cross-browser compatible.
Read more >Supporting older browsers - Learn web development | MDN
You now have the knowledge to confidently use techniques such as Grid, create fallbacks for older browsers, and make use of any new ......
Read more >A Guide To CSS Support In Browsers - Smashing Magazine
CSS Feature Queries allow authors to condition rules based on whether particular property declarations are supported in CSS using the @supports ...
Read more >Cross Browser Compatibility Tutorial: A Comprehensive Guide ...
Cross browser friendly library: Most websites are developed using third-party libraries and frameworks. Using the wrong or non-friendly alternative could cause ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

This plugin focuses on the native sdks, and no plan to support for browser.
Hi Ibrahim, I’m not a dev here but maybe I can help with this.
What this plugin offers is a cordova wrapper around the android and iOS native google maps SDKs. https://developers.google.com/maps/documentation/android-api/ for example. It is java and objective-c code and it is not code intended to run o browsers.
If you need a map on the browser, you should use the gmaps javascript API directly, leaflet or other similar things. ( https://developers.google.com/maps/documentation/javascript/ )
My personal view is that it is up to the programmer (and not to this plugin) to take care of this use case. Trust me, the more focused this project is, the better it is for all of us.
When you say you want to " ease the development process for people who are using this plugin", I guess you want to be able to test your app using “ionic serve”. Did you have any problems debugging on emulators or native devices? “ionic run platform -c -l” should get the job done!
Hope this helps!
2016-07-16 17:20 GMT+08:00 Ibrahim Hadeed notifications@github.com: