Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 5    Views: 139

Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
02/27/17 08:17 AM (7 years ago)

Location Map Plugin crashes App

The Location Map plugin crashes App when there are lots of map co-ordinates. In screens with few co-ordinates it works perfectly. Is there a maximum number of co-ordinates to use. Using Buzztouch Control panel and Xcode 8.2.1
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/27/17 08:30 AM (7 years ago)
The most map pins I have ever used in a map on iOS is 22, which works OK. How many are you talking about?
 
Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
like
02/27/17 08:48 AM (7 years ago)
About 100. It worked fine with BT 3 with more pins.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/27/17 08:50 AM (7 years ago)
Are you loading them via a separate json file?
 
Tyroner
Aspiring developer
Profile
Posts: 175
Reg: Dec 26, 2012
Johannesburg, S...
4,200
like
02/28/17 02:28 AM (7 years ago)
No doing it directly
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
02/28/17 02:39 AM (7 years ago)
I don't know if loading remotely would make stop it crashing, but it might be worth trying. One difference is that the json for your map would only load when you open the map, not when you open the app. Sometimes the timing or changing the sequence things has an effect. Stranger things have happened!
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.