I found this quite inconvenient when coding with the API. The code
hinting (in FlashDevelop, Flex Builder) for a class method never shows
the meaningful name for the parameters.
For example, if I extends the Map class, and in my class body, I type:
setCenter(
Instead of receive the code hint:
setCenter(latLng:LatLng, opt_zoom:Number, opt_mapType:IMapType)
, but I get
setCenter(param0:LatLng, param1:Number, param2:IMapType)

I can guess their meanings via their types but what if a method only
show: doSomething(param0: Number, param1: Number, param2: String) or
something like that.

I have used compc in Flex SDK before, and I know that we can keep the
meaningful name of the parameters and FD or FlexBuilder can show them
in code hint.
I don't know what you used and how you did to compile these swc, maybe
it's all for size optimization, but could you please keep the
parameter names in API methods to ease the trouble of checking the API
document all the time for the developers (esp. new comers).
If you can't, please as well explain your reasons.

By the way, I really like your API and thanks for your work.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to