02-11-2013 11:35 PM - edited 02-11-2013 11:36 PM
Hello, friends..
I am implementing MapView in my application..
I am using below code for MapView..
MapView
{
id: mapView
horizontalAlignment: HorizontalAlignment.Fill
}I also added import bb.cascades.maps 1.0 & given permission GPS Location, Location in bar-descriptor.xml
When I run application I can see only black screen.
I got below error in device log.
Feb 11 10:00:16.321 ContextCollection.278294638 <implicit> 0 SHUTDOWN -----ONLINE----- Feb 11 10:00:16.321 ContextCollection.278294638 slog2 0 ERROR ccl_ipc_pps.c(35): ccl_pps_fire_event, PPS open failed 13 Feb 11 10:00:16.321 ContextCollection.278294638 slog2 0 ERROR ccl_ipc_pps.c(36): ccl_pps_fire_event, reason Permission denied Feb 11 10:00:16.322 ContextCollection.278294638 slog2 0 ERROR ccl_ipc_pps.c(35): ccl_pps_fire_event, PPS open failed 13 Feb 11 10:00:16.322 ContextCollection.278294638 slog2 0 ERROR ccl_ipc_pps.c(36): ccl_pps_fire_event, reason Permission denied
02-12-2013 04:10 AM
There is a good example in github on how to use the MapView.
https://github.com/blackberry/Cascades-Samples/tre
I know that the MapView does not work if you use WiFi without a SIM card and your firewall blocks unusual ports. Maybe using a SIM card solves the problem. Or there is an error in your code. Then the github example should be a good starting point.
02-12-2013 04:21 AM
You have to change the altitude. That's a value in meters on how far the camera is above the ground. You can find it in the documentation.
altitude: 10000
Documentation: https://developer.blackberry.com/cascades/referenc
02-12-2013 04:23 AM
Yes, if the connection works then setting the altitude is a solution.
02-18-2013 03:45 AM - edited 02-18-2013 06:18 AM
I set altitude: 10000, still map is not appear in device. I can see only white screen..
I found below error in Console
eglSwapBuffers: an EGLSurface argument does not name a valid surface configured for rendering
WindowToWorld: lat=0.000000 lon=0.000000 centerX=384 centerY=514
04-11-2013 10:52 PM
04-12-2013 12:42 PM
04-14-2013 09:39 PM
Yes. Thats what i understand too. But what kind of other mapping solutions you mentionaing? Im interested on other options instead of mapview.
04-15-2013 08:41 AM
04-15-2013 10:52 PM