Pinch and Zoom on BB Maps - blackberry

I am trying to find out some way to implement pinch and zoom feature on BlackBerry Maps.
I am using MapField control to implement this feature.
Has someone done that before or have an idea out to implement that on blackberry...?
Waiting for the reply.
Thanks

Related

How to duplicating perspective zoom home screen feature in iOS?

As we all know, iOS 8 having a perspective zoom feature in the home screen which zooms depend on the angle of a device and how it moves.
I want to duplicate that feature inside my app. I found a question to find out the angle of a device here.
How can I determine the angle of the device?
Measuring tilt angle with CMMotionManager
I need to discuss the ideas to zoom the image depend on the angle of a device. Any help would be appreciated.
Edit: It is a duplicate of this question: iOS 7 parallax effect in my view controller
Thanks for you help.
That feature is called a 'parallax effect' and there is built-in support in Cocoa Touch for it. You don't need to re-invent the wheel to add that effect to your apps. Search the web for information on UIInterpolatingMotionEffect. Here, in particular, is Apple's brief documentation on it.

corona sdk pinch to zoom on image

I have a problem implementing the pinch to zoom function. Basically I have a various range of pictures in my app and I need to implement the pinch to zoom just for some of them. I am new to LUA and I already saw the example they give you on the corona website. I need help implementing that code the way I need, can someone help me?

Google maps - is 3D view possible

I've seen this screen view.
Is it possible to get a 3D map in Google Maps SDK for iOS? I've seen normal, satellite, terrain, hybrid and none here.
Modifying the camera's viewing angle is supported by the SDK. Users can use a two-finger swipe gesture, or you can set animateToViewingAngle: on GMSMapView.
https://developers.google.com/maps/documentation/ios/views?hl=de#introduction

How to configure the zoom level in the Map?

I'm developing a BlackBerry 10 mobile application using the Momentics IDE (native SDK).
I want to display a map using the mapview qml element which seems that it belongs to the blackberry team (it's not a google map). [ Blackberry 10 mapview ]
All I want is to configure the zoom level like google do, but it looks like the blackberry map doesn't have any attribute which can guarantee that except the "altitude" element which can assign some sort of zoom .
Any one can help on this ?
The altitude property is indeed the one you use for zooming. The paradigm is "how much area is viewable from a given altitude?"
To zoom in and zoom out from the map uses the altitude property.
To create zoom in/out animation you can use a simple javascript function that manages the animation. (For example implementing Elastic or Circular animation. See the Blackberry Stock Curves documentation for more details).
Instead, if you want determinate the viewable area from a given altitude you should work with the map scale
http://www.geog.ucsb.edu/~jeff/115a/lectures/scale_and_area_measurement.html
regards

iOS how can I make MapKit display custom indoor map?

I'm trying to create a map of the office I'm working at. I have a high resolution image, and would like to autorotate it in the direction the user is heading, allowing the user to navigate around the map. I thought this could be accomplished using CoreMotion/CoreLocation and a UIScrollView, but this seems like there's some work involved.
So I'm wondering if there are easier solutions for combining a custom map and direction/position on that map - can MapKit handle this for me? Are there other frameworks that can help me show a local 2D map with compass orientation on it?
You can convert your high-res image into map tiles easily with TileMill.
You should use some custom tiles with MKTileOverlay which only display at a very high zoom level (like z 18 or whatever). I suggest you take a look over at NSHipster and read what they have about it:
http://nshipster.com/mktileoverlay-mkmapsnapshotter-mkdirections/
*Disclaimer: I haven't tried this myself, came across the NSHipster article while searching for solutions to my own problems.

Resources