Question

lets say I have a situation where I have a few polygons ontop of eachother like this

enter image description here

is there a way to know what polygon is on-top aka the z-index of it? I didn't see anything in the docs but I was hoping I just missed it somewhere

Was it helpful?

Solution

Here it is - http://developer.android.com/reference/com/google/android/gms/maps/model/Polygon.html#getZIndex()

StackOverflow wants 30 characters out of me, so here they are.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top