Home > front end >  Map marker with multiple drawables
Map marker with multiple drawables

Time:08-03

I have a map with some markers, and each of them has icons. My thinking, is it possible to add another icon/drawable to an existing one. For example, a map pin, after a click on it, the icon/drawable is added at the bottom right.enter image description here

CodePudding user response:

You can create two drawables

  1. Without bottom icon
  2. With bottom icon

When you click on marker, you can simply replace 1st marker icon with another let me know if you need code to draw custom marker on maps

  • Related