Hmm ok now i'm confused again :/ So i thought the problem was to do with that flag because i could reproduceably change that and have it go from working to not working but now i've stripped my test case back to just a standard Map (no subclassing) with the (supposedly) fixed marker and it still causes the issue.
More confusing is that, running inside our embedded mshtml control or in IE i get the problem but i dont get it in chrome (using the same html page and swf). The problem happens at the level that extra zoom levels are added into the zoom control. Eg: starting off at the world view / zoom level 1 all browsers look the same. And when i zoom in to level 17 they still look the same - the slider on the zoom control is now at the very top of the control on all three browsers. On chrome i can now keep zooming in and more levels are added to the zoom control whereas in IE (and our mshtml control) i cant get those extra levels. On Sep 7, 5:40 pm, "pamela (Google Employee)" <[email protected]> wrote: > Hey Chris- > > I modified the Tooltip example that I have to add a zoom control and > map type control, and the normal map type went well beyond 17 there. > Does it only happen when you both subclass the Map and specify the > FLOAT pane, perhaps? > > - pamela > > > > On Mon, Sep 7, 2009 at 1:29 PM, TinyGrasshopper<[email protected]> wrote: > > > Ah ha - ok worked out what it was. > > > I had based our Text markers on the Tooltip Overlay example > >http://gmaps-samples-flash.googlecode.com/svn/trunk/demos/TooltipOver... > > > The example places the tooltips into PANE_FLOAT which i was doing as > > well however it seems that, if you put overlays into that layer, then > > zoom breaks. I changed our markers to go on the PANE_MARKER layer and > > it works fine now. > > > Not sure if this is a constant problem or just if you try to put > > things into that pane during map initialization or what. > > > Should i file this as a bug? > > > Cheers, > > Chris > > > On Sep 7, 9:40 am, TinyGrasshopper <[email protected]> wrote: > >> Mmm, definitely something to do with our subclassing of the Map class > >> - i replaced OurMap with Map in the above code and it works fine. > > >> On Sep 7, 9:23 am, TinyGrasshopper <[email protected]> wrote: > > >> > Hi Pamela, > > >> > No custom map types or TileLayerOverlays alas. Our customizations are: > > >> > - Subclass the map (makes it cleaner to do the other customizations) > >> > - Attach pretty much every listener to the map (although i've turned > >> > these off with no effect) > >> > - Subclass the Marker class to add our own information to it. > >> > - Wrapped the polyline class to add our own information (although the > >> > map still sees regular polylines) > >> > - Added a bunch of custom overlays (all marker-style overlays tho, no > >> > tile ones - problem still occurs when none of these are on the map). > >> > - We do a lot of communication via ExternalInterface > >> > - We use javascript in the containing page to hijack the mouse right > >> > click events > >> > - We run a timer event every 100 milliseconds that does > >> > ExternalInterface calls however it's turned off while zooming/panning > >> > and i've disabled it completely and still had the problem. > >> > - <probably some others i cant think of atm> > > >> > I've turned most of these off tho and still have the problem. I think > >> > it must be something to do with how we either load the map control or > >> > our subclassing of the map control. > > >> > I cant post the real code, but we do something like this to load the > >> > map: > > >> > <?xml version="1.0" encoding="utf-8"?> > >> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" > >> > layout="absolute" width="100%" height="100%" initialize="init(event)"> > >> > <mx:HBox borderStyle="none" paddingTop="0" paddingBottom="0" > >> > paddingLeft="0" paddingRight="0" width="100%" height="100%"> > >> > <mx:UIComponent id="mapContainer" > >> > initialize="startMap(event)" > >> > resize="resizeMap(event)" > >> > width="100%" height="100%"/> > >> > </mx:HBox> > >> > <mx:Script> > >> > ... > >> > private var map:OurMap; > > >> > public function startMap(event:Event):void { > >> > map = new OurMap(); > >> > mapContainer.addChild(map); > >> > } > > >> > public function resizeMap(event:Event):void { > >> > map.setSize(new Point(mapContainer.width, > >> > mapContainer.height)); > >> > } > > >> > ]]> > >> > </mx:Script> > >> > </mx:Application> > > >> > We dont override any google methods on the map but we do add an aweful > >> > lot of our own methods and variables. > > >> > I tried rolling back through several api versions back to 1.7a and all > >> > had the same problem > > >> > I rolled forward to 1.16 (we're currently using 1.9a) and still have > >> > the same problem. > > >> > We're running the swf file locally from a local .html file which i > >> > thought might have been the problem but i've tried some of the > >> > examples from the gallery locally and none of them have the problem. > > >> > Cheers, > >> > Chris > > >> > On Sep 6, 4:22 pm, "pamela fox (Google employee)" > > >> > <[email protected]> wrote: > >> > > Hey Chris- > > >> > > What customizations have you done? Have you added any custom map types > >> > > or TileLayerOverlays? > >> > > I'm pretty sure that those are the only customizations that would > >> > > affect that. > > >> > > Does it happen with the previous SWC releases? You can grab them > >> > > here:http://code.google.com/p/gmaps-api-issues/wiki/MapsAPIforFlashChangelog > > >> > > - pamela > > >> > > On Sep 3, 1:04 pm, TinyGrasshopper <[email protected]> wrote: > > >> > > > The highest level i'm getting is 17. > > >> > > > I tried using the limited zoom code > >> > > > fromhttp://gmaps-samples-flash.googlecode.com/svn/trunk/demos/LimitedZoom... > >> > > > to increase the zoom level that i could see but with no success. > > >> > > > On Sep 3, 12:37 pm, TinyGrasshopper <[email protected]> wrote: > > >> > > > > Also weird is that the problem only occurs in NORMAL_MAP_TYPE, in > >> > > > > hybrid, satellite and physical, the zoom the extra zoom levels are > >> > > > > available. > > >> > > > > On Sep 3, 12:06 pm, TinyGrasshopper <[email protected]> wrote: > > >> > > > > > Hi Everyone, > > >> > > > > > I've run into a problem where, for some unknown reason, our map > >> > > > > > wont > >> > > > > > let you zoom in past a certain point (somewhere around zoom > >> > > > > > level 18). > >> > > > > > I've got two maps side by side, one with all my customizations > >> > > > > > on it > >> > > > > > and the other just a bare embedded map and the customized one > >> > > > > > stops > >> > > > > > well before the un-customized one. > > >> > > > > > I've started hacking out bits of customization to try and > >> > > > > > determine > >> > > > > > what's causing it but, even with pretty much everything gone, > >> > > > > > it's > >> > > > > > still the same. > > >> > > > > > Bizarrely, I put the Zoom Control on to both maps and i can see > >> > > > > > that > >> > > > > > there are more levels on the zoom slider on the uncustomized map > >> > > > > > than > >> > > > > > on the customized map at the same location. > > >> > > > > > I'm stumped :( > > >> > > > > > Has anyone run into this type of problem before? Any hints on > >> > > > > > what > >> > > > > > might be causing it? > > >> > > > > > Thanks for any help, > >> > > > > > Chris --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-maps-api-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
