I’m designing an ionic app that will heavily use google maps. Now as the javascript sdk uses an api call each time you move the map its not really feasible. So the ionic google maps native plugin looks like the best way to go, plus the performance is a factor. However, I’m a little confused on the differences particularly in the development process.
What are the differences in the way you use javascript to interact with google maps, i.e. are the methods the same and how would the code differ exactly? I’m new to google maps, should I look at javascript tutorials or native ios/android ones?
Lastly, can the native plugin do the following?
-Locally store the surrounding area
-Change map styling
less than Google Maps JS v3 (street view is not ready yet)
Performance
Slow
Faster
3D view
not available
available
Offline
not available
available (but only you displayed area)
Platform
browser on any platform
Android and iOS only
Coding
easy
easy but kind of difficiult than Google Maps JS v3
Map styling
supported
supported
Local store the surrounding area
not supported
not supported
Local store the surrounding area is covered by Places API.
I design the native google maps plugin is similar with Google Maps JavaScript API v3.
So, if you are really newbie for Google Maps JavaScript API v3, I recommend you try to start with Google Maps JavaScript API v3.
(i.e. You have never used Google Maps JavaScript API v3)
If you are familiar with Google Maps JavaScript API v3, I recommend you try to use the native google maps plugin.
I don’t recommend to use the native google maps plugin for really newbie.
Because even the native plugin wraps features in JS side safely, you still treat with native Google Maps APIs. It means you should have little knowledge for native side.
Which would be likely to have superior performance for an app that makes many frequent map api calls? Specifically, my plan is to make an app that uses a marker as an animated sprite which would involve setting and moving the marker icon 10+ times per second. I’m also quite open to the suggestion that this is a terrible way to implement what I’m trying to do and I should be using a canvas on top of the map or something… it just makes coding it very easy. Would love to hear some thoughts/opinions.