|
|||||||
![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
Updated April 26th 2009
This is an extension that adds Google Map functionality to any panel, or panel type of component. It has been tested with both 2.x and 3.x branches and appears to work fine in both. Features:
Working on:
Bugs:
* The UX and Example code can be found on the Google SVN http://code.google.com/p/ext-ux-gmappanel/ * Please feel free to make modifications or additions and post them back to this thread - I will integrate them with the extension. Blog Post:http://extjs.com/blog/2008/07/01/int...pi-with-extjs/ Live Example:http://www.extjs.com/playpen/gmaps/ux.gmaps.php (uses out-dated component code) |
|
#2
|
||||
|
||||
|
Can you please outline the Licensing?
|
|
#3
|
|||
|
|||
|
Very cool!
|
|
#4
|
|||
|
|||
|
Awesome, I created something similar a while ago with the ability to automaticly add markers from a datastore, but I din't really finish it.
|
|
#5
|
|||
|
|||
|
This might be old news but it's the first time I've discovered it. Apparently, if you copy the code in IE and paste it into your IDE, it pastes it as one line! Yikes. It works fine in the superior Firefox browser - at least 3.0 does. So in the future, could you post a link to the JS file to make it easier for use in IE? Thanks.
|
|
#6
|
|||
|
|||
|
Hi VinylFox,
This is an excellent extension! But i've a - maybe stupid - question, how can i POST selected Google Maps position (LAT, LANG) by SUBMIT with FormPanel?
__________________
http://louise.hu / poetry / development / C, Java, JavaScript, HTML / ExtJS / Alfresco |
|
#7
|
||||
|
||||
|
Quote:
For example: Ext.getCmp('yourmapid').getMap().getCenterPoint();
ie: var cur_glatlng = Ext.getCmp('yourmapid').getMap().getCenterPoint();
var cur_lat = cur_glatlng.lat();
var cur_lng = cur_glatlng.lng();
|
|
#8
|
|||
|
|||
|
thanks for the work.
I use this for map options: just after this line this.gmap = new GMap2(this.body.dom);
Davide. |
|
#9
|
|||
|
|||
|
Thanks, this is helpful for me!
__________________
http://louise.hu / poetry / development / C, Java, JavaScript, HTML / ExtJS / Alfresco |
|
#10
|
|||
|
|||
|
Perhaps this problem exists outside of the GMapPanel as well. But if you move the Panel outside the bounds of the browser, there might be no way to get it back. If you try to grab the panel, of course, you will simply grab the map. I put this in to prevent that:
|
![]() |
| Thread Tools | |
|
|