Added bindings for ProgressBarControl:
http://code.google.com/p/gwt-maps-utility/source/browse/trunk/maps-utility/src/com/google/gwt/maps/utility/client/progressbarcontrol/ProgressBarControl.java
Some of the utilities require a little more planning, for example, the
TabbedMaxContent
http://gmaps-utility-library.googlecode.com/svn/trunk/tabbedmaxcontent/1.0/docs/reference.html
It extends classes from the Maps API, such as MapWidget and Marker.
The MapWidget is marked as final, Marker isn't. This means i can't
extend MapWidget. I can extend Marker, but i'm not sure if that's the
best option given it's implemented with JSIO, plus i'd like to use the
same approach on both classes.
I can add wrapper classes but that's probably too expensive,
especially with a class like Marker of which there can be hundreds of
instances at any given time.
It's not the prettiest solution, but the lighter and more efficient
option would be to expose the extension methods in TabbedMaxContent as
static methods, e.g:
public static TabbedMaxContentExtension {
static TabbedMaxContent getTabbedMaxContent(MapWidget map);
static void openMaxContentTabs(MapWidget map, LatLng latlng,
Element minNode, Element summaryNode, MaxContentTab[] tabs,
MaxContentOptions options);
static void openMaxContentTabsHtml(MapWidget map, LatLng latlng,
String minHtml, String summaryHtml, MaxContentTab[] tabs,
MaxContentOptions options)
}
Any thoughts?
Bobby
On Oct 21, 7:34 pm, Bobby <
bobbysoa...@gmail.com> wrote:
> Nice, i'll merge it in.
>
> By the way, since i can't load the JS libraries through the JSAPI/
> AjaxLoader, i'm storing the version and script references in an enum:
http://code.google.com/p/gwt-maps-utility/source/browse/trunk/maps-ut...
>
> This is for those of us who don't like adding the script references
> manually (me). Manually loading the script references will still work.
> The script versions and locations can be changed by implementing the
> following interface:
http://code.google.com/p/gwt-maps-utility/source/browse/trunk/maps-ut...
>
> The following class takes care of dynamically loading the references
> and supplying an onLoad event.
http://code.google.com/p/gwt-maps-utility/source/browse/trunk/maps-ut...