I take two values (source, destination) from the user and while loading the map from A to B, I need to show some sort of activity happening. We have activity indicator for iOS to do that. But how do I use the activity indicator in Phonegap while the map is loading in the background?
I’m thinking something like
navigator.something.activityIndicatorStartRunning()
javascript method to load the map
navigator.something.activityIndicatorStopRunning()
Is this possible in Javascript?
purplecabbage has a plugin for activity indicator here