i read a previous post saying MapTrackView.setScreenVisibleArea is always fullscreen in apps and widgets. The post is 2 years old.
I would like to know if there is a change on behaviour and how (if possible) reduce the map in a specified area. TKS
i read a previous post saying MapTrackView.setScreenVisibleArea is always fullscreen in apps and widgets. The post is 2 years old.
I would like to know if there is a change on behaviour and how (if possible) reduce the map in a specified area. TKS
MapView and MapTrackView are native views in the firmware and are always full screen. setVisibleArea defines what you want visible, and can be use to set things like your default zoon level. Look ate the mapsample in the SDK. setVisibleArea is the top half of the screen (use "View Map"), but if you make it the full screen, you're zoomed in on what was the top half. by default.
BTW, you may want to test some things on a real device, The maps used in the sim are not the same as on the device, and in the sim you don't see things like the map scale, and in the case of MapTrackView, you don't see the track, If you have GPS on in your app, with MapTrackView, you see the track and the map also "moves" to keep you at the center..
Here's an app where I use MapTrackView so you can see it in a CIQ app with GPS.
thank you very much for your answer! Yes i've seen the SDK example from which i started to build my app. At first i was certain that setScreenVisibleArea could cut the map in a specific area of the screen but after few tests and surfing the forum i found the real behaviour! Do you think could be a way to cut the map let's say in a square 90x90 pixels and put it for example in the top/bottom and left/right of the screen? (Maybe a workaround)
I will check your example too later tomorrow...