MultiRowCalloutAnnotationView icon indicating copy to clipboard operation
MultiRowCalloutAnnotationView copied to clipboard

Problem with popup

Open neruja opened this issue 13 years ago • 1 comments

I changed the code in District.m file.

  • (District *)demoAnnotationFactory { Representative *dudeOne = [Representative representativeWithName:@"Rep. Dude" party:@"Republican" image:[UIImage imageNamed:@"redstar"] representativeID:@"TXL1"]; Representative *dudeTwo = [Representative representativeWithName:@"Rep. Guy" party:@"Democrat" image:[UIImage imageNamed:@"bluestar"] representativeID:@"TXL2"]; Representative *dudeT = [Representative representativeWithName:@"Test" party:@"Democrat" image:[UIImage imageNamed:@"bluestar"] representativeID:@"TXL2"]; return [District districtWithCoordinate:CLLocationCoordinate2DMake(30.274722, -97.740556) title:@"Austin Representatives" representatives:[NSArray arrayWithObjects:dudeOne, dudeTwo, dudeT, nil]];
    }

  • (District *)demoAnnotationFactory1 {

    Representative *lol = [Representative representativeWithName:@"Rep. Dude" party:@"Republican" image:[UIImage imageNamed:@"redstar"] representativeID:@"TXL1"]; Representative *tdo = [Representative representativeWithName:@"Test" party:@"Democrat" image:[UIImage imageNamed:@"bluestar"] representativeID:@"TXL2"]; return [District districtWithCoordinate:CLLocationCoordinate2DMake(20.274722, -97.740560) title:@"Test Representatives" representatives:[NSArray arrayWithObjects:lol, tdo, nil]]; }

when I am testing the popup. I have found a error. As you see, I have clicked this (demoAnnotationFactory) so there are 3 datas can I Find. when I clicked this (demoAnnotationFactory1) Can i find also 3 datas. but there are 2 datas as usually. The last one shouldn't have come in the factory1. that one is own to demoAnnotationFactory.

I will hope you could correct this. You can change this according to delete the old datas. when we clicked the popups we need to have new datas.

otherwise i truly to say this as a wonderful tutorial.

neruja avatar May 01 '12 17:05 neruja

I agree.

Current demo does not allow to have 2 pins with different number of cells.

iosware avatar Oct 12 '12 18:10 iosware