Discussion Forums  >  Uncategorized

Replies: 2    Views: 258

Andy925
I hate code!
Profile
Posts: 2
Reg: Apr 01, 2011
USA, Northern V...
20
04/11/11 02:12 PM (14 years ago)

I need help changing the markers on a map overlay so it will show different markers for different locations

I'm coding an android app that uses a map with multiple locations, but the thing is that all the locations show the same icon, is there a way to have each location with its own icon or marker? thanks for your help...
 
Miereter
Apple Fan
Profile
Posts: 154
Reg: Feb 21, 2011
USA
1,540
like
04/11/11 03:06 PM (14 years ago)
Hi Andy925, Have you tried clicking the location item record, then in the pop-up window called item properties you can set the pin color. Not sure if you can change the location icons easily to use something other than a pin?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/11/11 08:44 PM (14 years ago)
Custom map-location properties are v1.5 only, which is iOS only. For Anroid, there isn't a control panel setting for this. We are working on v1.5 for Anroid that will make this possible. In the meantime, to do this with v1.4, you'll need to dig in the source code in Eclipse. Have a look at Screen_LocationMap.java in the /src folder of the project. On around line 319 you'll see the method showMapPins that adds the markers for each location. This is where the icon is set.
 

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.