-
Notifications
You must be signed in to change notification settings - Fork 912
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
How can example\DemoApp\www\index.html work on desktop? #184
Comments
No, this is a native device plugin, you have to run it on a device or emulator. |
Is there any way to make use Google Maps on Android + iOS + desktop with one codebase? Is it possible with PhoneGap? |
Sure, use goole maps js api v3 from google...it is supported on any device that runs javascript although its a bit slower than this plugin |
Well, then why not to build phonegap-googlemaps-plugin on top of Google Maps JavaScript API v3? |
Because it feels faster/smoother resulting in a nicer user experience. It also requires a bit less data to be downloaded that is important on mobile devices running on 3g |
One more question. Does it mean that phonegap-googlemaps-plugin can do what Google Maps JavaScript API v3 can not? For example, customize map marker pictures or move camera nicely. |
Well thats not a yes/no question. Custom markers and camera animations are supported in this plugin but there are still a lot of features that Google Maps Js API offers that are still missing for example, directions, routing, customizable infoWindows, the ability to place custom html elements on top of the map etc. Mahashi has made a very good job documenting all the features of this plugin, go through them and see if everything you need can be met or not. In general, if the map is not a core element in your app I would go with Google Maps Js API as it is much easier to implement, you have all the features and you need to code and debug only once for all platforms. On the other hand if the map is a core feature and the overall user experience of your app depends heavily on the map then this is the plugin to use. |
That's what I need to know. Thanks! |
Thank you for good question, @dmitrykolesnikovich |
Is there any way to make example\DemoApp\www\index.html work on desktop?
I download .zip bundle, open it in Chrome and nothing works. What I'm doing wrong?
Thanks.
The text was updated successfully, but these errors were encountered: