UIMapView - Show Google Weather Layers

Hello,

I see you have tile support built into UIMapView, and you can also load googlemap tiles.  Is it possible to view the googlemap weather layers also.

I'm thinking it is the same method of the map layers, but I don't know the direct link for the weather layers from google.
Like this..

procedure TForm1.TMSFMXNativeUIButton1Click(Sender: TObject);
begin
TMSFMXNativeMKMapView1.BeginUpdate; TMSFMXNativeMKMapView1.AddTiling('http://mt1.google.com/vt/lyrs=m@110&hl=pl&x={x}&y={y} &z={z}');
TMSFMXNativeMKMapView1.EndUpdate;
end;

Regards,
Bryan

Hi, 


The following URL should give you the weather overlay:


Kind Regards, 
Pieter


Hello Pieter,

Sorry I was not clear with my original post.  I was hoping for the weather clouds tiles.  But I was pleasantly surprised with the weather information layer.  That is very nice.  Is there a way to make the annotations bigger?  They are small and hard to read.

Sorry for the poor explanation on my part,
Kind regards,
Bryan

Hi, 


Yes you can add the scale parameter:

TMSFMXNativeMKMapView1.AddTiling('http://mt1.google.com/mapslt?lyrs=weather_c_kph|invert:0&x={x}&y={y}&z={z}&scale=2');

We haven't yet found the template url for cloud overlay but it should normally be available.

Kind Regards, 
Pieter


Hi Pieter,

Here's the cloud layer URL.

http://mt1.google.com/vt/x={x}&y={y}&z={z}&lyrs=weather_0cloud

Cheers,
Bryan

Thanks !