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 -~----------~----~----~----~------~----~------~--~---
