How to create blackberry map with two types of markers - first for search results, clickable, leading to detail screen and second just for current location (not clickable, visually different)
Thanks,
Peter
I know it is late, buit still I am posting because it might help someone else. Check out the below link
How to show our own icon in BlackBerry Map?
Related
I'd like to know if there is a way to best detect a users tap on a label?
The new iOS15 Maps app allows a tap on e.g. a cities name and then shows informations about that city.
I am now wondering if something similar can be done with mapbox?
I know that there is a mapView.visibleFeatures(in: myRect) function that can somehow help here. So I can convert my finger location to a rect and then get all features there.
BUT... my city e.g. might have a label that is let's say 200 px wide. So I would need to have a quite large rect to find the point of my city label. And then I will also get all kinds of other labels that might be there. Maybe even not visible, but in the dataset.
Is there no way to ask the map what the frontmost element was when I tapped? So that when I tap on the far end of the label, I still get that ONE feature?
I am still using Mapbox V6.3... the latest before their last major update.
But if it's not possible with that version, an answer about the latest V10.something would also be great.
For v10, this example demonstrates how to identify features near a click. While the overall example is to a different end, the onMapClick functions shows the method to find a feature and then build an annotation.
https://docs.mapbox.com/ios/maps/examples/view-annotation-marker/
I have an app where I want the user to place a marker on a map and drag a circle to define a range around that notification, exactly as in Apple's Find Friends App (when you pick one of your friends and subscribe for notifications when he arrives or leaves a certain location).
Looks like this:
The marker can be dragged and moved like always, but the solid circle on the right side is used to define a range around the marker.
Does anyone have an idea on how to implement that? Maybe someone has already implemented something like this and wants to share his code :-).
Thanks.
Ok, I found some very useful sourcecode. Here it is, in case somebody else needs it as well: https://github.com/d0ping/DBMapSelectorViewController
Folks,
I'd like to create a kml which would always display an icon in the top left corner of the GE view. In addition, clicking the icon should open a placemark balloon/webpage/smthg with some additional information.
I can think of two potential solutions: 1) a screen overlay with an embedded link and 2) a placemark with absolute screenXY coordinates. Unfortunately, I can not find a single example of either of these and that makes me wonder if this is doable at all?
Any help highly appreciated,
anssi
I can't seem to find a decent tutorial to use a map in my iOS 6 app. I got the part of adding the MapView, but I want to add pins in custom locations. I want my pin to have a title, a subtitle and a picture on the left. I'm not sure if I need a custom pin of not for that. I also want a detail disclosure indicator to segue to another page. Should be that complicated, but I don't know where to start. Help please!
There you go...a pretty good iOS6 Tutorial with the new MapKit.
Helped me a lot. Enjoy...
http://www.raywenderlich.com/21365/introduction-to-mapkit-in-ios-6-tutorial
I am thinking about developing a BB app that is based on maps provided by BB.
The trick is that I need the markers on the map to be clickable.
I did a little research and a lot of people are saying that this is not possible.
Has anyone done it so he can point me to the right direction?
Thanks in advance.
http://www.wikitude.com -> this application does.
You can extend the MapField class, and then handle the interaction with your markers internally in your class (paint() and touchEvent() should be overridden).
Or eventually, as with many UI-classes, you can do "impossible" things just by painting them on a Bitmap, and manipulating it before rendering on screen.