callouts

MapView with multiple annotations with callouts, how to pass title to next view

限于喜欢 提交于 2019-12-12 05:12:19
问题 I have a mapView where users press to drop a pin. There may be multiple pins at one time, and each annotation view has a callout that pushes a new view to the stack when it is pressed. What I want to do is pass the title of the annotation view to the label in the second view. Here is the code where I drop the pin: -(void)press:(UILongPressGestureRecognizer *)recognizer { CGPoint touchPoint = [recognizer locationInView:worldView]; CLLocationCoordinate2D touchMapCoordinate = [worldView

Powerpoint - Add editable callouts in slide master

眉间皱痕 提交于 2019-12-12 02:17:09
问题 I'm looking how to add editable callouts in a slide master. What i mean by editable is change the tail position, the text content and size when I add a new slide to my presentation. Well, callouts with a text placeholder comportment. :*) Best regards 回答1: In Slide Master view: Add a text placeholder to your layout and select the placeholder (not the text). From the Drawing Tools | Format tab select Edit Shape | Change Shape and select the callout shape you want applied.Set the colour for the

Creating Custom Call out View with button on it

匆匆过客 提交于 2019-12-11 21:52:54
问题 I am stuck with a map View problem for which I was surfing the internet from the last three days but still not find any appropiate solution. My problem is When I click on my pin which is customized, a callout appears. But standard callout support only two lines text.In my case I have to show four lines text with a button. Please any one tell me how to create a custom callout or what approach should I use as there is no way to modify the standard callout. Any suggestions would be highly

show map callout through code in iPhone

守給你的承諾、 提交于 2019-12-11 02:33:03
问题 I have tried several things but am unable to solve it out. I have 10 custom annotations on the map depending upon the area visible. Now I have 2 buttons next and previous. Clicking on which the callout of annotation must get displayed. i.e if i click on next buton then callout of annotation 1 will appear and when i click next again then the callout of first will hide and callout of second will appear. I have tried out [self.mapView selectAnnotation:self.nextSelectedAnnotationView.annotation

Placing callouts over bootstrap carousel

你说的曾经没有我的故事 提交于 2019-12-11 01:46:58
问题 i would like an effect like on this site http://demo.grandpixels.com/ where the divs .callout are layered over the carousel. I'm trying to do this in bootstrap. But my divs always go under the carousel. I've tried setting z-index of the callouts but that doesn't seem to work. .callouts { display: block; margin-top: -150px; z-index: 999999999999999; } You can check the basics at http://jsfiddle.net/5ejse/ Thanks in advance! 回答1: You all but have it. The only thing you are missing is that for z

How to open callout of annotation on map automatically, when map first loads?

心不动则不痛 提交于 2019-12-10 04:38:45
问题 I have a navigation based application for the iPhone that I am working that allows the user to view a selection from a table, on a map. I have an annotation that pinpoints the user's selected location on the map. As per normal behaviour, if the user clicks on the annotation, a callout appears with the details about the location. No problems here. My question is, I'd like the callout to appear automatically from the annotation, once the user is taken to the screen containing the map, so that

How to resize callout bubble after resetting title/subtitle

a 夏天 提交于 2019-12-07 12:27:12
问题 I created an MKAnnotation name PushPin which has a title and subtitle. I want to be able to dynamically change the title at a later time. I'm close so I'd rather not have to make a whole new AnnotationView, but if I have to I guess that's ok too. My problem is that, once I change the text for the title, the window does not resize and some text might get cut off depending on how big the title originally was. 1) Is there an event I can trigger to resize the callout bubble window again? 2) Also,

How to resize callout bubble after resetting title/subtitle

早过忘川 提交于 2019-12-05 21:18:02
I created an MKAnnotation name PushPin which has a title and subtitle. I want to be able to dynamically change the title at a later time. I'm close so I'd rather not have to make a whole new AnnotationView, but if I have to I guess that's ok too. My problem is that, once I change the text for the title, the window does not resize and some text might get cut off depending on how big the title originally was. 1) Is there an event I can trigger to resize the callout bubble window again? 2) Also, I check to make sure that the annotation actually has a title first before I go resetting the title,

Custom MKAnnotationView - How to capture touches and NOT dismiss the callout?

ぃ、小莉子 提交于 2019-12-05 20:59:28
I have a custom MKAnnotationView subclass. It is showing the view exactly as I want it to. In that view, I have a button. I want to capture events on the button to perform an action. This works just fine. However, I do NOT want the callout to be dismissed or disappear. Basically, touching the button in the callout will start playing a sound, but I want to leave the annotation up so the user can press stop if they want to, without having to touch the map pin again to bring the annotation back up. In another instance, I want the button touch to animate more details in the callout, so I

How to Hide MKAnnotationView Callout?

风格不统一 提交于 2019-12-03 10:45:20
i'm trying to hide an AnnotationView without touching the pin, is the possible? Thanks! for (id currentAnnotation in self.mapView.annotations) { if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) { } } Do you just want to make the callout bubble go away but keep the pin? If yes, then do this: for (id currentAnnotation in self.mapView.annotations) { if ([currentAnnotation isKindOfClass:[MyAnnotation class]]) { [self.mapView deselectAnnotation:currentAnnotation animated:YES]; } } 来源: https://stackoverflow.com/questions/2918154/how-to-hide-mkannotationview-callout