I wan to set minimum ans maximum zoom limit for slider in Google Maps , but in Flex Implementation.
Same question is asked here before . But the question as well as answers are for Javascript implementation .
I interpreted in Flex , but got error :
Cannot assign to a method getMinimumResolution on com.google.maps.wrappers.IMapTypeWrapper.
what i did:
var mt:Array = gmap.getMapTypes();
for (var i:int=0; i<mt.length; i++) {
mt[i].getMinimumResolution = function() {return 6;}
}
how to set it in Flex ?
I have tweaked it a liitle bit and here’s the soln:
And the Eventlistener :