Discussion Forums  >  Uncategorized

Replies: 2    Views: 250

tiger
Aspiring developer
Profile
Posts: 121
Reg: Dec 26, 2010
USA
1,210
07/16/11 07:56 AM (14 years ago)

Zoom Multi-Map Location in 1.5

Hi, I know how to zoom in my location for a single map in 1.4. I'm working in 1.5 and I want to zoom in my multi-map locations. At the present time when someone open a multi-map location all the pins are bunch togeather and overlap or touch each other. I would like the pins to not overlap or touch each other in 1.5. BTW, will the same method work in 1.4? Thanks
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
07/16/11 10:44 AM (14 years ago)
Hi Tiger. The multi-map pins are much tougher to zoom because the app needs to know which one to zoom in on. What it tries to do is draw the smallest square possible around all the points on the map. This usually works well when all the locaitons are either very close together or very far apart. It gets a little wierd when you have say 50 locations in Boston and then one or two in New York. This is because it's trying to show all the locations and some are hundreds of miles aparts. There are a few workaround. Some folks have had good success making multiple maps, depdends on the design. You could also try changing to default zoom behavior in BT_screen_map.m and see how far you can get.
 
tiger
Aspiring developer
Profile
Posts: 121
Reg: Dec 26, 2010
USA
1,210
like
08/06/11 02:00 AM (14 years ago)
Thanks David, Sorry about the later reply. Been busy with another project and just got a chance to pick this project up again.
 

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.