Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
New Developer
gbreth
Posts: 8
Registered: ‎10-12-2013
My Device: Z10

Drawing a circle as overlay on the map

Hey, I was searching for a solution to my problem and found this thread but it seems to be outdated:

 

http://supportforums.blackberry.com/t5/Native-Development/Is-it-possible-draw-overlays-on-a-map/td-p...

 

My Problem is that I want to draw a circle around the device location (like a radar) but I can't get it done in a satisfying way. First I tried to add an ImageView containing a image of a circle with transparent background but the scaling was not

perfectly done when you zoomed in or out. Another solution was to draw the circle as an QImage but I could not transform the drawn QImage into the necessary ImageView (my solution was based on the scratchpad sample code: https://github.com/blackberry/Cascades-Samples/tree/master/scratchpad).

 

As far as I understood overlays are not support yet. So maybe someone else found a solution that scales perfectly when the user is zooming in and out and can be done as an overlay on the map. Maybe something in C++ ;-)

 

Any hints or code snippets are welcome!

Please use plain text.
New Developer
anam-khalid
Posts: 1
Registered: Saturday
My Device: aaa
My Carrier: aaa

Re: Drawing a circle as overlay on the map

Is there any update on this?

Please use plain text.