google maps - Android marker bitmap change on zoom change -



google maps - Android marker bitmap change on zoom change -

i had implemented few customised markers in project.the thing need on zoom alter these marker's icon should alter different default 1 .also reaching default zoom should come before. thanks.

this might help, need specify @ wich zoom levels should markers alter

mmap.setoncamerachangelistener(new googlemap.oncamerachangelistener() { private float currentzoom = -1; @override public void oncamerachange(cameraposition cameraposition) { if (cameraposition.zoom != currentzoom) { currentzoom = cameraposition.zoom; ... code

android google-maps

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -