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

How can example\DemoApp\www\index.html work on desktop? #184

Closed
dmitrykolesnikovich opened this issue Sep 4, 2014 · 9 comments
Closed

Comments

@dmitrykolesnikovich
Copy link

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.

@paishin
Copy link

paishin commented Sep 4, 2014

No, this is a native device plugin, you have to run it on a device or emulator.

@dmitrykolesnikovich
Copy link
Author

Is there any way to make use Google Maps on Android + iOS + desktop with one codebase? Is it possible with PhoneGap?

@paishin
Copy link

paishin commented Sep 4, 2014

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

@dmitrykolesnikovich
Copy link
Author

Well, then why not to build phonegap-googlemaps-plugin on top of Google Maps JavaScript API v3?

@paishin
Copy link

paishin commented Sep 4, 2014

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

@dmitrykolesnikovich
Copy link
Author

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.

@paishin
Copy link

paishin commented Sep 4, 2014

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.

@dmitrykolesnikovich
Copy link
Author

That's what I need to know. Thanks!

@wf9a5m75
Copy link
Member

wf9a5m75 commented Sep 4, 2014

Thank you for good question, @dmitrykolesnikovich
And I appreciate for good answer, @paishin 💯

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