Hej Pamela, I use your code and the problem still exist - tiles are loaded 2 times.
You will find my new source here: http://develop.jensfranke.com/google_maps_flash_api_1_7/src2.zip Thanks Jens On Oct 7, 3:42 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]> wrote: > Hi Jens- > > Can you narrow the source done a little more? How about just: > > var satMapType : IMapType = MapType.SATELLITE_MAP_TYPE; > var baseTileLayers : Array = > satMapType.getTileLayers( ).concat( [] ); > baseTileLayers.push( new CustomTileLayer( ) ); > > var customMap1 : MapType = new MapType( > baseTileLayers , > satMapType.getProjection( ) , 'custom1' , new MapTypeOptions( ) ); > > var opts : MapOptions = new MapOptions( ); > opts.zoom = 4; > opts.center = new LatLng( 50.092393 , 10.810547 ); > > opts.mapTypes = [ customMap1]; > setInitOptions( opts ); > > Or are the 2 map types necessary for replicating the issue? > > - pamela > > On Tue, Oct 7, 2008 at 8:46 PM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > Hej Pamela, > > > I create an example for you: > >http://develop.jensfranke.com/google_maps_flash_api_1_7/ > > > You'll see that several tiles were load 2 times. For Examples 7_4, > > 7_5, 7_6. > > > You will find the my source here: > >http://develop.jensfranke.com/google_maps_flash_api_1_7/src.zip > > > It would be cool if you can check my source, maybe I did something > > wrong ... but for me it looks like a bug?! > > > Thanks in advance > > Jens > > > On Oct 7, 1:13 pm, "[EMAIL PROTECTED]" > > <[EMAIL PROTECTED]> wrote: > >> I try it with MapOptions and it doesn't work. > > >> The methode loadTile request several tiles 2 times. > > >> I'll now isolate the problem and post some code. > > >> Jens > > >> On Oct 7, 12:40 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]> > >> wrote: > > >> > Hi Jens- > > >> > I recommend using MapOptions instead to initialize the center and map > >> > type. Otherwise, the default Google maps are loaded in at the > >> > beginning at a default latlng. We'll soon have documentation on using > >> > MapOptions, but please refer to the example that I posted in the issue > >> > that you commented on for now. > > >> > - pamela > > >> > On Tue, Oct 7, 2008 at 7:39 PM, [EMAIL PROTECTED] > > >> > <[EMAIL PROTECTED]> wrote: > > >> > > Hej Pamela, > > >> > > you are so fast. :) > > >> > > I use the same code, so without MapOptions. I think MapOptions is new > >> > > in 1.7? > > >> > > And all 34 tiles are custom tiles. My swf size is 1000x585. > > >> > > Best > >> > > Jens > > >> > > On Oct 7, 12:34 pm, "pamela (Google Employee)" <[EMAIL PROTECTED]> > >> > > wrote: > >> > >> Hi Jens- > > >> > >> Is this when using MapOptions to initialize the center and the map > >> > >> type of the map? > > >> > >> Are all of the tiles your tiles, or are you also using Google tiles? > > >> > >> - pamela > > >> > >> On Tue, Oct 7, 2008 at 7:31 PM, [EMAIL PROTECTED] > > >> > >> <[EMAIL PROTECTED]> wrote: > > >> > >> > Hej, > > >> > >> > I update to version 1.7 and I run into some trouble. > > >> > >> > My center-point is new LatLng( 50.092393 , 10.810547 ) at > >> > >> > zoom-level 4 > >> > >> > and I use a Custom-TileLayerBase. > > >> > >> > At the inital loading the API request 34 tiles and added 15 of them > >> > >> > to > >> > >> > the DisplayList. > > >> > >> > With the new version 1.7 the API immediately add all 34 tiles to the > >> > >> > stage. > > >> > >> > What the reason for the change? I don't like the idea, because so > >> > >> > you > >> > >> > run much faster some performance problems. > > >> > >> > I would be nice to get a quick response. > > >> > >> > Thanks in advance > > >> > >> > Jens --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
