I have created custom controller by following http://code.google.com/apis/maps/documentation/javascript/controls.html Is there any way to remove custom controller? is it possible to use setOptions() for this?
I have created custom controller by following http://code.google.com/apis/maps/documentation/javascript/controls.html Is there any way to remove
Share
you can remove using this two function using removeAt() or clear() should accomplish the task.
or by it’s position in MVCArray
map.controls[position] is an MVCArray.http://code.google.com/apis/maps/documentation/javascript/reference.html#MVCArray