I created a class that inherits from Marker and the marker loads with an image file for icon.
The marker has width and height set to 20.
One of my requirements is to handle the case that markers’ icons are intersect with each other.
So if there is an efficient way, at each zoom level, I can have a RectangleShape that surrounding the marker?
The bounding box or Rectangle shape of markers should have four points (in world coordinate and will be updated at each zoom level).
Any suggestion?
Thanks