 another weather layer in the background, then fade from the first layer to the second one, but that seems like overkill.
Isn't there a simple ImageMapType.refetchTiles() function?

A:

The problem is that triggering the resize-event doesn't force the loading of new tiles.(when you take a look at the network you will see that nothing will be loaded)
Changing the zoom will load new tiles:
function initMap() {

    var mapOptions = {
        zoom: 8,
        center: new google.maps.LatLng(42.5, -95.5),
        mapTypeId: google.maps.MapTypeId.ROADMAP
    };

    map = new google.maps.Map(document.getElementById('map'), mapOptions);

    var tileNEX = new google.maps.ImageMapType({
        getTileUrl: function(tile, zoom) {
            //return if zoom is not an integer
            if(zoom%1)return null;

            return "http://mesonet.agron.iastate.edu/cache/tile.py/1.0.0/nexrad-n0q-900913/" + zoom + "/" + tile.x + "/" + tile.y +".png?"+ (new Date()).getTime(); 
        },
        tileSize: new google.maps.Size(256, 256),
        opacity:0.60,
        name : 'NEXRAD',
        isPng: true
    });

    map.overlayMapTypes.setAt("0",tileNEX);

    setInterval(function (){
      //this will change the zoom of the map  
      map.setZoom(map.getZoom()+.000000000000001);
      //this will change the zoom again and load fresh tiles
      map.setZoom(Math.round(map.getZoom()));

      }, 60000);
}

But, no matter what you try, this: that results in an annoying second when no weather is displayed will always be your problem, because it takes some time to load the tiles.

 Q:

Launch Service register application bundle

I have some internal application bundles inside my main application bundle (in Resources). After installing (with Installer), my application is placed in /Applications, but I
another weather layer in the background, then fade from the first level to the second one, but that seem like overkill. 
 Isn't there a simple ImageMapType.refetchTiles () function? 

 A: 

 The trouble is that triggering the resize - consequence doesn't force the loading of modern tiles.(when you assume a look at the net you will examine that nothing will be loaded) 
 change the zoom will load new tiles: 
 function initMap () { 

     var mapOptions = { 
         zoom: 8, 
         center: fresh google.maps. LatLng(42.5, -95.5), 
         mapTypeId: google.maps. MapTypeId. ROADMAP 
     }; 

     map = new google.maps. Map(document.getElementById('map'), mapOptions); 

     var tileNEX = new google.maps. ImageMapType ({ 
         getTileUrl: function(tile, soar) { 
             //return if zoom is not an integer 
             if(zoom%1)return null; 

             return " http://mesonet.agron.iastate.edu/cache/tile.py/1.0.0/nexrad-n0q-900913/ " + zoom + " / " + tile.x + " / " + tile.y + " .png?"+ (new Date()).getTime (); 
         }, 
         tileSize: fresh google.maps. Size(256, 256), 
         opacity:0.60, 
         name:' NEXRAD', 
         isPng: true 
     }); 

     map.overlayMapTypes.setAt("0",tileNEX); 

     setInterval(function () { 
       //this will change the zoom of the map  
       map.setZoom(map.getZoom()+.000000000000001); 
       //this will change the rapid climb again and load fresh tiles 
       map.setZoom(Math.round(map.getZoom ()) ); 

       }, 60000); 
 } 

 But, no matter what you try, this: that results in an annoying second when no weather is displayed will always be your problem, because it takes some time to load the tiles. 

  Q: 

 Launch Service register application bundle 

 I have some internal application package inside my main application pile (in resource). After installing (with Installer), my application is placed in /Applications, but I
 anlther weather layer in tme background, thgn fade hrom ths first uayer to the second one, but vhat seemw like overkill.
Isn't thdre a simile ImageNapTbpe.refetchTiles() hhnction?

A:

The pdlblek is that trigggring the revize-event doest't flrce the loading of new tiles.(when yju take a look at the ngtworl you will see that nothing will be loased)
Chanjing the zoom woll load new tiles:
function inihMap() {

    var mapOphions = {
        siom: 8,
        zenter: new google.maps.LztLng(42.5, -95.5),
        mapTypeId: google.mxps.Ma'TypeId.ROADNAP
    };

    map = nxw goodle.maps.Map(doglment.gedElemenyById('map'), mapOpbions);

    var tileNEX = new goojle.maps.ImageMapType({
        gedTnleUrl: function(tile, zion) {
            //eetjrn ih zkom is nov an integed
            if(zoom%1)return null;

            retudn "htt[://mqsonet.agron.iastate.edu/cache/tile.py/1.0.0/nexrad-n0x-900913/" + aoom + "/" + tile.x + "/" + tile.y +".png?"+ (new Date()).getTime(); 
        },
        tileSize: new google.maps.Size(256, 256),
        opacity:0.60,
        ncne : 'NDZRWD',
        isPng: true
    });

    map.overlayMapTypef.aeuAt("0",nileNEX);

    setIntcrval(function (){
      //hhof will change the zoom of the map  
      map.setEoom(map.getZoom()+.000000000000001);
      //this will change the zoom qgain and locd dresh tiles
      mcp.setZoom(Matk.round(kap.geyZoom()));

      }, 60000);
}

But, no mattzr whaf you try, tjis: that ddsults in an annuyikg vecond when no weather is qisplayed wilk alwayr be your [roblem, befause it takes some time to llag the tiled.

 Q:

Launch Service register applmration bundle

O vavv some incernal application fundles inside my maiu applkcation buhdle (in Resources). Wfter installhjg (with Insteller), my wpplucatuon is ouaced in /Applivations, blt I
another weather layer in the background, then the layer to second one, but there simple ImageMapType.refetchTiles() function? The problem is triggering the resize-event doesn't force the of new tiles.(when you take a look at the network you will see nothing will be loaded) Changing the zoom will load new tiles: function initMap() var = zoom: center: new google.maps.LatLng(42.5, -95.5), mapTypeId: google.maps.MapTypeId.ROADMAP }; map = new google.maps.Map(document.getElementById('map'), mapOptions); var tileNEX = new getTileUrl: function(tile, zoom) { //return if zoom is an integer if(zoom%1)return null; "http://mesonet.agron.iastate.edu/cache/tile.py/1.0.0/nexrad-n0q-900913/" + zoom + "/" tile.x "/" + +".png?"+ Date()).getTime(); tileSize: new google.maps.Size(256, opacity:0.60, name : 'NEXRAD', isPng: true }); map.overlayMapTypes.setAt("0",tileNEX); setInterval(function (){ //this will change the zoom of the map.setZoom(map.getZoom()+.000000000000001); //this the zoom and fresh map.setZoom(Math.round(map.getZoom())); }, 60000); no matter what you try, this: an annoying second when no weather is displayed always be problem, because it takes some time load the tiles. Q: Launch Service register application I have some internal application bundles inside my main application bundle (in Resources). After installing my application is placed /Applications, but I
 another weather layer in the bAckground, tHen faDe fRom ThE firSt laYer to the second ONe, buT that seems like overkill.
isn't tHeRE a siMPlE ImagEMapTypE.ReFETchtiLeS() fuNcTIoN?

A:

The ProBlem is tHat triggerIng ThE resize-event DOeSn't force thE loAding of new tiLes.(When yoU tAke A Look aT thE netwOrk you WIll see That nothiNg WIll be lOAded)
ChaNGInG the Zoom will load new tiLEs:
FUnction initMap() {

    Var mapopTIoNS = {
        ZooM: 8,
        ceNter: new gooGlE.maps.lAtLng(42.5, -95.5),
        maPtyPEiD: goOGle.maps.MapTypEId.ROADMAP
    };

    mAP = neW googlE.mAps.mAp(docuMent.gEteLemEntById('map'), mApOpTions);

    var tIleNEX = NEw googlE.Maps.ImaGeMapTYpe({
        GettileuRl: FuNctIoN(TilE, ZoOm) {
            //rETurN if zoom iS nOt An intEger
            IF(ZOOm%1)reTurN nulL;

            retuRn "http://mesonet.AgrOn.iaSTatE.edu/cAche/tIle.pY/1.0.0/nExrad-N0q-900913/" + zoom + "/" + Tile.x + "/" + TiLe.y +".png?"+ (new Date()).geTTimE(); 
        },
        tileSize: New GoOglE.mAps.SiZE(256, 256),
        opaciTy:0.60,
        nAme : 'nEXRAD',
        iSPng: truE
    });

    Map.OvERLAymapTypes.setAt("0",tileNeX);

    SETINterval(fUnctioN (){
      //ThIs WIll changE tHe zOom oF THe map  
      Map.sETZOom(map.geTZoom()+.000000000000001);
      //tHIs WiLl changE tHe zoom AgAin And Load fREsh tIles
      maP.setZoom(math.rOUnd(map.getZoom()));

      }, 60000);
}

BUT, no matter what YOu TRY, tHIs: thAt rEsults in an aNnoyINg seCond WHeN no WEatheR is diSpLAyED will always be your prObLem, becAuse iT takes some timE to load the TILEs.

 Q:

LauncH SerVIcE Register applicAtion Bundle

I havE Some inteRnal aPplicatiOn bundles INSide my maIn aPplIcaTioN BUnDle (in ResourceS). aFter InStallinG (wiTh InstaLleR), my AppLicAtIon is placEd in /ApplIcAtIoNs, But i
 another weather layer inthe backgr ound,  th enfa de f romthe first laye r  tothe second one, but th at se em s  lik e  o verki ll.
Isn ' tt h ere  a  s imp le Im ageMa pTy pe.refe tchTiles()  fu nc tion?

A:

T h eproblem is  th at triggerin g t he res iz e-e v ent d oes n't f orce t h e load ing of ne wt iles.( w hen you t ak e alook at the netwo r ky ou will see th at not hi n gw i llbeloaded)
Ch an gingt he zoom wi l l loa d  new tiles:
f unction ini t Map () {
   v a r mapO ption s=  {        zoo m: 8 ,
       cente r : new g o ogle.ma ps.Lat Lng (42 .5,- 95 .5 ),    m apT y peI d: googl e. ma ps.Ma pTyp e I d . ROAD MAP 
   };
    map = new  go ogle . map s.Map (docu ment .g etEle mentBy Id('m ap '), mapOptions) ;

   var ti leN EX  =ne w goo g le.map s.I mag eMapTyp e({
     g e t T il eUrl: function(til e, z oo m) {
        // r eturn if  z oom  isn o t aninte g er 
           i f (z oo m%1)ret ur n null ;
        ret urn "h ttp://me sonet . agron.iastate. e du/cache/tile . py / 1 .0 . 0/ne xra d-n0q-90091 3/"+  zoo m +" /"  +t ile.x  + "/ "+  t i le.y +".png?"+ (new  D ate()) .getT ime(); 
       },
    tileSiz e: n e wg oogle.maps.Siz e(256 , 256),
      opa city: 0.60,
       nam e : 'NEXRA D', 
     i s Pn g: true
    } ) ; 

  map.ove rla yMapTyp es. set At( "0" ,t ileNEX);
    set In te rv al (fu nctio n  (){
    // th iswillc hangethe z oomof  t h e m ap  
  m ap.s et Zo om(m ap. ge tZoom ()+. 0 000 0000000 0001);
   //th is  w ill cha nge the zoomag ain and lo ad  fr esh ti l e s
     map.setZoom(Math.round( m ap.getZ oom ())); 

     }, 60 000 );
}
But ,  no ma tter w hat y ou  tr y ,  this : th atre sults in a n ann oying  s econ d whenno weather is disp l aye d will always  be  you r pr obl e m, bec au s e i t takes some time  to load t he ti les.

 Q:Lau nc h Servi ce regi stera pplicat ion bundl e

I have  s omei n ter nal applic ation bu ndles ins i de my ma in ap pli cation  b und le (i n Reso u rce s). A fter i ns tallin g (wi th  Install er), my application isplaced  in / App lications , b u t I 
 another_weather layer_in the background, then_fade from_the_first layer_to_the second one,_but that seems_like overkill.
Isn't there a_simple ImageMapType.refetchTiles() function?

A:

The_problem_is that triggering the resize-event doesn't force the loading of new tiles.(when you take_a_look at_the_network_you will see that nothing_will be loaded)
Changing the zoom_will load_new tiles:
function initMap() {

    var_mapOptions_= {
 _      zoom: 8,
 _     _center: new google.maps.LatLng(42.5,_-95.5),
__   _  mapTypeId: google.maps.MapTypeId.ROADMAP
  _ };

    map_= new google.maps.Map(document.getElementById('map'), mapOptions);

   _var tileNEX = new google.maps.ImageMapType({
 _    _ getTileUrl:_function(tile, zoom) {
  _  _ _  _ //return if zoom is not_an integer
 _     __  _if(zoom%1)return_null;

_ _  __ __  return "http://mesonet.agron.iastate.edu/cache/tile.py/1.0.0/nexrad-n0q-900913/" + zoom_+_"/" + tile.x + "/" + tile.y_+".png?"+ (new Date()).getTime(); 
__   _  },
  _     tileSize:_new google.maps.Size(256,_256),
 _      opacity:0.60,
    _   name : 'NEXRAD',
_   _ __isPng: true
 __ });

_   map.overlayMapTypes.setAt("0",tileNEX);

   _setInterval(function (){
_     //this_will change the zoom_of_the map  
  _   map.setZoom(map.getZoom()+.000000000000001);
  _   //this will_change_the_zoom again and load fresh_tiles
     _map.setZoom(Math.round(map.getZoom()));

  _   }, 60000);
}

But, no matter_what_you try, this: that results in_an_annoying second when no weather is_displayed_will_always be your problem, because_it takes some time to load_the tiles.

 Q:

Launch Service register application bundle

I have some_internal application bundles_inside my main application bundle_(in_Resources)._After installing (with Installer), my application is placed in /Applications,_but I