View Full Version : Maps, Markers and Overlays

19 Oct 2010, 10:16 PM
I'm using the existing KS sample and extending it. In Map card, I added a toolbar with 3 buttons. When I click on 1st button, it shows an overlay (another panel) with Map inside it. This map basically will be used to showcase nearby tweets (using geocoding).
I've one sample which used Google APIs getBounds method. I want to know, how can I use it with Ext.Map. It's not working in my application. And second question is, how can I show/hide markers dynamically. If I show a marker, even if I call hide method, it doesn't work.
Thanks in advance.

19 Oct 2010, 10:55 PM
You can access the underlying map using:

var m = new Ext.Map(),
map = m.map;

// map refers to the google map

As for the other question, you'd be best off consulting a google maps help group.