10-22-2012 12:49 AM
Hi everyone and RIM representatives,
The current BB10 MapView API (as per SDK beta 3) provides a very limited features. It only allows you to show a "plain" map (BB10 built-in map) which can be centered by a given lat/lon. But you currently can't place drop pins or other layers on the map. There is also no way to set the zoom level... and many other missing ones.
And also this article (http://devblog.blackberry.com/2012/05/lightweight-
Anyway, I would like to know the future of Maps on BB10. Which direction would I target to: BB10 MapView API or third-party map APIs?
Thanks
Tom
10-22-2012 01:37 AM
I actually found some stuff in the MapView API that looks like it could be used to do more manipulation of the map, but I haven't yet successfully managed to actually use any of it. (Nor have I seen any samples of it.)
MapView has a function that provides a pointer to a MapData object. MapData has functions for adding and removing "Geographic" objects. A subclass of Geographic is GeoLocation, which looks like a placemark of sorts.
If anyone has actually figured out how all this fits together, and whether or not it actually works, please let us know.
10-22-2012 02:59 AM
Hi,
I run the sample application provided in the Beta3 SDK. But when i run this on device it will only display black screen i change the lat/lon to my current lat/lon but that did not work.
Can you please help me if you are able to successfully run the map view application?
Thanks,
Megha.
10-22-2012 07:16 AM
Hi Megha,
You should post this question on another thread.
Anyway, I initially also got into the same issue you said but I figured out that if I zoom out (i.e., reduce the zoom level), I can see the map. ALso make sure your device has network connected.
Cheers,
tom
10-22-2012 08:58 AM
tommy20 wrote:
The current BB10 MapView API (as per SDK beta 3) provides a very limited features. It only allows you to show a "plain" map (BB10 built-in map) which can be centered by a given lat/lon. But you currently can't place drop pins or other layers on the map. There is also no way to set the zoom level... and many other missing ones.
...
Anyway, I would like to know the future of Maps on BB10. Which direction would I target to: BB10 MapView API or third-party map APIs?
I strongly recommend you watch the JAM17 session video at http://hosting.desire2learncapture.com/RIM (especially from 20:00 until 29:00, and note the PDF as well) since it will probably answer many of the questions and concerns you have. There are still unknowns, but I believe it will reassure you that RIM is planning a rather full-featured map API for us.
10-22-2012 07:09 PM
Hi peter,
I've watched that video before posting my concern. But it looks like these features are future plans, they are not available yet (even they did not provide a demo for map). Like you, I hope we will have a good BB built-in map soon.
Cheers,
tom
10-23-2012 11:03 AM
They did provide a demo for MapView. Its just extremely basic, and has a fondness for the region around Albany, NY.
https://github.com/blackberry/Cascades-Samples/tre
This one works, but it starts at an unusable zoom level (you have to zoom out a bit) and is a tad quirky on the map loading. Also, apparently anything using MapView won't shut down correctly and you'll get that "application was slayed" message from the homescreen.
I didn't have any luck getting the other map samples working, since they seem to depend on invoking things we don't have.
10-23-2012 06:05 PM
10-24-2012 03:56 AM
Hi all,
I am also looking for some good way to Show Maps. Meanwhile, currently, I am using google maps to show address of a location.
12-27-2012 09:19 AM