Who got Google Maps V3 and Ext JS 4 running?

Who got Google Maps V3 and Ext JS 4 running?

Hi there,

Who got Google Maps V3 and Ext JS 4 running in a window panel?

I can't get the code of @VinylFox to work. I have added ext-all.js and ext-all.css, and his Ext.ux.GMapPanel3.js. Error: Uncaught TypeError: Object #<Object> has no method 'reg'. I guess the system of registration an extension has changed but not in this extension.

I'm having similar problems trying to get Bing Maps working, the map renders fine inside of a panel but maybe I'm not fully understanding this MVC pattern, because I can't figure out how to use methods from outside the Ext.define.

I guessed from this I'd be able to call App.view.Map.setLocation() but I get the "has no method" error. The map itself works fine though, if you don't need to interact with it you should be able to use Google Maps in the same way.

@jbuonagurio: Did you checked GMapPanel of Ext JS community member VinylFox?

Yes I did (thanks VinylFox) and it appears to work similarly, but the variable scoping and inheritance in Ext JS 4 seems to work differently, maybe someone can clarify. For example in GMapPanel3.js the gmap object is defined in the apiReady function:

I would love to use your extension to dynamically add and remove markers. This is where I'm now working on.

In the V2 maps extention version I had the problem that I could not center the map without adding a marker in the center (combined setting). I hope in the new version we can center the map without adding a marker.