Forget everything you know about working with maps and BlackBerry WebWorks. Mapping just got real, real easy!
We heard you ask for an easy way to integrate mapping services with your BlackBerry WebWorks applications, and today I’m happy to announce that on BlackBerry 10, the process has become much simpler.
We’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 here at RIM. Even the framework itself is staged publicly on GitHub. Continuing this theme of openness and following web standards, the maps samples we’ve 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. One of my teammates, Jim Ing, wrote a really in-depth article on maps, comparing services and much more. I strongly recommend checking it out “Lightweight Maps For Mobile”.
Check out the sample, in action!
Download the source code.
Ready to add some maps to your app? Download the source code from our GitHub repository!
Calling all Native developers!
Have you been yearning to contribute to the BlackBerry 10 cause but weren’t sure how? Why not take this WebWorks sample, and build a Native version?! If you’re interested, get in touch with Shadid Haque (@ShadidHaque) on Twitter.
If you’ve got a success story, have a question, or just want to chat about apps, hit me up on Twitter @chadtatro!