CHAPTER 10

image

Map Views

Adding Map Views in PhoneGap –JavaScript vs. Native Maps

Adding a map to your application in PhoneGap can be a challenging and complicated task that has many approaches and solutions. In the end, you can break it down to a simple rule: By using JavaScript-based libraries, you will get the fastest results and feature-rich maps without the hassle of developing a platform specific implementation.

Using native map SDKs via plug-ins will result in a smooth and fast map experience; however, they have a lot of limitations. These limitations include the lack of features, the impossibility to use them directly in your HTML code, and ...

Get Beginning App Development with Parse and Phonegap now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.