Is any Maps V3 working being done?

138 views
Skip to first unread message

Brandon Donnelson

unread,
Dec 6, 2011, 10:18:54 PM12/6/11
to gwt-goo...@googlegroups.com
I'd like to know about the any work being done on the maps v3?

 I've started to wrap it up in either case b/c I haven't seen much activity with it.

Thanks Brandon

Brandon Donnelson

unread,
Dec 6, 2011, 10:23:23 PM12/6/11
to gwt-goo...@googlegroups.com

Brandon Donnelson

unread,
Dec 21, 2011, 2:41:38 PM12/21/11
to gwt-goo...@googlegroups.com
Here is some more evidence I'm working on it.

Here are some snippets for event binding in 2.4+ frame work so the HandlerRegistration class and eventbus can be utilized. 

Brandon Donnelson

unread,
Dec 29, 2011, 6:52:39 PM12/29/11
to gwt-goo...@googlegroups.com

lifeoflust

unread,
Jan 2, 2012, 3:39:43 PM1/2/12
to Google API Libraries for GWT
Brandon,

I've been taking stock of Google's lack of support or direction on a
V3 GWT Maps API. I found your efforts and spreadsheet today and was
curious how your efforts differ from the gwt-maps3 and gwt-google-maps-
v3 projects. From what I can find, Google's semi-official response was
to use gwt-google-maps-v3, but both the aforementioned efforts have
seen little contribution to them in the last year.

I am an enterprise GWT developer and want to use V3 Maps with GWT for
a personal mapping application. I would vastly prefer to write this
application in GWT over pure JS as writing large, complex JS
applications is a pain without GWT's wonderful optimization, packaging
and obfuscation.

Thanks for your efforts and let me know how it's going.

Joe


On Dec 29 2011, 6:52 pm, Brandon Donnelson <branflake2...@gmail.com>
wrote:
> Track the build progress:https://docs.google.com/spreadsheet/ccc?key=0AnyjOBpyOTUWdHpQZTl1UWJU...

Brandon Donnelson

unread,
Jan 2, 2012, 9:31:42 PM1/2/12
to gwt-goo...@googlegroups.com
That is a great question.

The official response I've heard is they are looking for the community to provide and currently the gwt-google-maps-v3 is the most complete project so referrals have been pointing to it. 

I agree, I rather develop my apps with GWT and that is why I've decided to write the Maps V3 GWT api. 

I'm not sure I know all the correct words for this. But heres my take on why I'm writing V3.

1. gwt-google-maps-v3 is written in V2's (overlay/implementation) model, which is outdated in my opinion. I remember Eric saying it would be better to move to the new Overlay format too, at least I think that's what he meant. It's been some time since I've asked. I think the GWT 2.0+ has [JavaScriptObject] Overlays work better. Due to that, I felt creating a new project was necessary.

2. I want to use the EventBus for events so HandlerRegistration in the widget needed to be used. I wanted to use the core event system. For instance events. This simplies things b/c its 

        // handler for mapWidget
    public HandlerRegistration addClickHandler(ClickMapHandler handler) {
   
return MapHandlerRegistration.addHandler(impl, MapEventType.CLICK, handler, new ClickEventFormatter());
 
}

// handler being used
   
LatLng center = LatLng.newInstance(49.496675,-102.65625);
   
MapOptions opts = MapOptions.newInstance();
    opts
.setZoom(4);
    opts
.setCenter(center);
    opts
.setMapTypeId(MapTypeId.HYBRID);
   
    mapWidget
= new MapWidget(opts);
    pWidget
.add(mapWidget);
    mapWidget
.setSize("500px", "500px");
   
    mapWidget
.addClickHandler(new ClickMapHandler() {
     
public void onEvent(ClickMapEvent event) {
       
// TODO fix the event getting, getting .... I've got to come back and simplify getter... like in my FusionTables
       
System.out.println("clicked on latlng=" + event.getMouseEvent().getLatLng());
     
}
   
});

3. gwt-google-maps-v3 is incomplete. I'd help, but I like the new Overlay system. I aim to write every detail out. And provide access to the native JSO objects so others can extend and write JSNI to add features if needed. 

4. I'd like to provide a extensive examples to write the bindings too so others can easily pick up the techniques use. I'm no expert, but I can help present more angles so others.

So far my V3 code api is working great for me. I'm getting close to source release, but I want to be sure the structure won't go through a major change, so I'm trying to wait till I have all the basics written. I'm thinking of releasing code before I write the services. Although I didn't want to generate to much fixes, bugs, namespace, directional feedback activity quite yet, which would distract from core focus of writing and writing tests to make sure things work great before release. 

My overall goal is have a production ready API with regression testing so it won't fall apart on fixes.

Hope that helps,
Brandon Donnelson



Joseph R Lust

unread,
Jan 3, 2012, 3:52:39 PM1/3/12
to gwt-goo...@googlegroups.com
Brandon,

I agree with all of your points. I recall that the same Google reply that said to use gwt-google-maps-v3 also warned that the Google version (some day) will be a drastic rewrite of that API. I assume they, like you, will switch to the New Overlay model.

I wish you all the best luck working on this and am eager to contribute to it once you have it setup as a Google Code project as I will be needing all the same implementations. Please keep us all advised as you near release. Thanks!


Sincerely,
Joe





--
You are subscribed to the Google Groups "GWT-Google-Apis" group.
For more options, visit http://groups.google.com/group/gwt-google-apis?hl=en

Brandon Donnelson

unread,
Jan 3, 2012, 5:11:28 PM1/3/12
to gwt-goo...@googlegroups.com
Thanks. 

My aim, I think within the next week (< 2 weeks) I'll be committing it. I aim to get a bit further before I release the rough draft :)


Have a good day,
Brandon Donnelson
c.gawkat.com

The Donnelson Team
YourDTeam.com
Reply all
Reply to author
Forward
0 new messages