Resize overlay image based on zoom level

Put problem concerning MapActivities, MapViews, Overlays and GPS in this forum.

Resize overlay image based on zoom level

Postby iSon » Wed Jul 01, 2009 9:59 am

Hi All,

I use ItemizedOverlay to display my overlay icon, but I dun know how to make this marker change size depending on zoom level. Hope that u guys have solution for this thing

Thanks
iSon
Freshman
Freshman
 
Posts: 5
Joined: Mon Jun 29, 2009 3:18 pm

Top

Postby Christoph » Thu Jul 02, 2009 3:37 am

my first idea,

react on a zoom-event:
- remove marker
- add new one with new icons
- mapView.invalidate()

or maybe just update the icon of the markers.

not quite shure :-)

good luck !
User avatar
Christoph
Developer
Developer
 
Posts: 28
Joined: Thu Jul 02, 2009 3:34 am
Location: Bonn, Germany

Postby iSon » Thu Jul 02, 2009 2:05 pm

Christoph wrote:my first idea,

react on a zoom-event:
- remove marker
- add new one with new icons
- mapView.invalidate()

or maybe just update the icon of the markers.

not quite shure :-)

good luck !


thx for ur help, i solved problem
iSon
Freshman
Freshman
 
Posts: 5
Joined: Mon Jun 29, 2009 3:18 pm

Postby arvind » Fri Jul 03, 2009 1:02 pm

Hello iSon....

can help me out pls with ItemizedOverlay code...
I try hard ... not working....
Thanks you advancely

Arvind
arvind
Junior Developer
Junior Developer
 
Posts: 21
Joined: Tue Jun 23, 2009 4:44 am
Location: Mumbai,India

Re: Resize overlay image based on zoom level

Postby pedroteixeira07 » Sun Jun 13, 2010 11:52 pm

Any code snippets for this ?
pedroteixeira07
Experienced Developer
Experienced Developer
 
Posts: 74
Joined: Sun Oct 18, 2009 6:06 pm
Location: Funchal

Top

Return to Map Problems

Who is online

Users browsing this forum: Exabot [Bot] and 2 guests