Discussion Forums  >  Maps, Device Location, Tracking

Replies: 5    Views: 87

Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
06/21/12 12:18 AM (13 years ago)

map pin position display problem

I think this may have been answered before but i can't find the post for it. My app uses location maps with multiple positions so will display the map zoomed out. This makes the pins appear as though they are in the wrong position as it appears buzzttouch maps use the tip of the pin rather than the base to mark the position so if i have map pin for a location near the coast then the tip of the marker is in the correct place however the base of the marker is in the water giving the appearance that the location is in the sea. Is there any way to change the code so the base of the marker is used rather than the tip. Thanks
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/21/12 11:49 PM (13 years ago)
Anyone?
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
06/21/12 11:50 PM (13 years ago)
Also is it possible to set default zoom level to the users location on the map by adjusting source code?
 
adpjavier
Lost but trying
Profile
Posts: 24
Reg: Nov 08, 2011
Honolulu
4,040
like
08/31/12 01:40 PM (13 years ago)
I have this issue on my Android build as well, the location is actually the top left corner of the pin, rather than the bottom center. I just replaced the image with an arrow similar to our mouse arrows for now. So instead of the pin pointing downwards into the ocean, the image shows an arrow with the top left tip on land.
 
adpjavier
Lost but trying
Profile
Posts: 24
Reg: Nov 08, 2011
Honolulu
4,040
like
08/31/12 01:42 PM (13 years ago)
image files are in the res/drawable/map_marker_"color".png if you were wondering
 
Mr stuck
Android Fan
Profile
Posts: 974
Reg: Apr 09, 2012
Fife, Scotland
15,740
like
08/31/12 01:45 PM (13 years ago)
Thanks for info. I tried a different pin but had same results. I am considering using a batchgeo map instead. just Google batchgeo to see.
 

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.