Adding Maps to your BlackBerry WebWorks Applications
Mapping just got real, real easy!
BlackBerry developers have been asking for an easy way to integrate mapping services with BlackBerry WebWorks applications on BlackBerry 10 and RIM have just made the process much simpler.
They’ve put together a straight-forward sample application that will show you how to integrate with a few of the services out there: Google Maps, Bing, Leaflet, and OpenLayers.
If you’ve been following the progression of the BlackBerry WebWorks framework, you’ve probably noticed an awesome amount of transparency. Open web standards are lovingly embraced and adopted at RIM. Even the framework itself is staged publicly on GitHub. Continuing this theme of openness and following web standards, the maps samples released are not platform specific.
Whether you’re writing an exclusive BlackBerry app, or planning on targeting multiple platforms using Cordova (previously known as PhoneGap), these samples are most definitely for you!
For each service, you’ll be able to learn how to:
- Setup a mapping service to use to in your app
- Find the users location with HTML5 Geolocation
- Perform a search for nearby points of interest
- Display push-pins on the map, showing the search results.
The goal of this sample is to show you how you can quickly integrate maps into your app and have it perform great in WebWorks for BlackBerry 10.
When it comes down to picking which service is right for your app, it’s completely up to you.
Check out the sample, in action!
Download the source code.
Ready to add some maps to your app? Download the source code from the GitHub repository!