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?
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 .
map.controls[position] is an MVCArray
http://code.google.com/apis/maps/documentation/javascript/reference.html#MVCArray