12-13-2012 02:36 PM
Hello,
My app requires map pins in order to fully function. I noticed in the known issues that this was stated:
Push pins for geographic data on a MapView control Push pins are added to MapView through MapData. MapData for a Mapview is obtained by calling the mapData() function. Push pins can be added through MapData::add(bb::platform::geo::Geographic *geo) or MapData::add(const bb::platform::geo::GeoList &elements). If you add the push pins to the MapView, the push pins will not render at all. Subsequently, the user is not able to interact with push pins. Bubbles around the push pins will not render either. The APIs do not show any errors during compilation or cause an unexpected termination at runtime.
https://developer.blackberry.com/cascades/download
Does anyone know if this will be fixed prior to launch? It seems to me that this is a MAJOR feature to be missing in a Gold SDK. Any application that requires geo awareness will essentially be useless or very incomplete.
Thanks,
12-13-2012 02:53 PM
Just out of interest, how well are the maps rendering for you?
I'm finding that pan and pinch-to-zoom are leaving some map tiles at the wrong resolution, and that if I zoom in too far, the map renders grey until I zoom back out (I expected to get to best resolution and stop).
Do you get this, or is this something unique to me?
12-13-2012 03:16 PM
I'm experiencing the same rendering issues as you bobdodd.
12-14-2012 02:51 PM
Hi searingmedia, any news about your question?.
It's possible to show a pin on MapView using only Cascades?
Thanks
12-14-2012 05:59 PM
As far as I can tell, this won't be possible by launch.. which is quite upsetting.
I'm currently working a on a workaround using a webview, OpenStreetMaps and Leaflet.
12-15-2012 03:08 AM
searingmedia wrote:
As far as I can tell, this won't be possible by launch.. which is quite upsetting.
I'm currently working a on a workaround using a webview, OpenStreetMaps and Leaflet.
a github sample would be great
12-27-2012 03:55 PM
Hi searingmedia, look at the new cascade sample "mapviewdemo" (10 days ago):
https://github.com/blackberry/Cascades-Samples/tre
Enjoy
Regards
12-27-2012 04:32 PM
Very interesting, that does work.
For anyone who's interested, I've posted a gihub sample of my webview/osm workaround at https://github.com/RileyGB/BlackBerry10-Samples/tr
There's still some features that I haven't got to work (such as pinch zooming) and some bugs (map pins stay selected after zooming), but it's a pretty decent example of how to communicate with webviews.
12-27-2012 04:53 PM
Actually, even with that last cascades sample, I'm still not happy enough with the rendering to use it in a production app. I feel more comfortable with my OpenStreetMaps solution as it is smoother and easier to use.
01-05-2013 09:06 AM
I agree with you