Google V3 Javascript API - How to remove user control?

I created a user controller by following http://code.google.com/apis/maps/documentation/javascript/controls.html Is there a way to remove a user controller? is it possible to use setOptions () for this?

+7
source share
1 answer

You can remove this function in two ways, using removeAt () or clear () to complete the task.

or by its position in the MVCArray map.controls[position] is an MVCArray .

http://code.google.com/apis/maps/documentation/javascript/reference.html#MVCArray

+13
source

All Articles