I also tried mt.getMinimumResolution = function
(opt_point:LatLng=null):Number {return 2;}
because it takes an optional argument, but I get the same error.
Am I overlooking something obvious? Pamela?
On Feb 19, 5:00 pm, helen <[email protected]> wrote:
> Hi,
> I can't seem to set the minimum resolution for a map type, or find any
> examples of how to do it in Actionscript, at which I am relatively
> new. This is what I was trying (based on JS method):
>
> var mt:IMapType = map.getCurrentMapType();
> mt.getMinimumResolution = function():Number {return
> 2;}
>
> I get the error "Illegal assignment to function getMinimumResolution."
>
> Can anyone help me please?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-maps-api-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---