Maps custom renderer problem

Hello,

i'm trying to use a custom maps provider with a custom renderer like described in the documentation at https://help.syncfusion.com/xamarin/maps/mapsprovider#custom-map-providers

The linked example from http://www.syncfusion.com/downloads/support/directtrac/general/ze/Google_Sample992378333 still uses 16.2.0.41.

After updating to 17.4.0.55 the example does no longer work.

In the CustomMapRenderer.cs the example wants to override the GetUri method of NativeMap.ImageryLayer

On Android this method does not exist in v17.4.0.55

On iOS this method changed from

protected internal virtual string GetUri(int X, int Y, int Scale); in v16.2.0.41 

to

protected internal virtual Task<string> GetUri(int X, int Y, int Scale); in v17.4.0.55

I didn't check the uwp part of the example.


It would be great if you could fix this and provide an updated example.

Regards,
  Kalle




1 Reply

RS Ramya Soundar Rajan Syncfusion Team March 23, 2020 11:44 AM UTC

Hi Kalle Bumba, 
 
Greeting from Syncfusion.  
  
We would like to let you know that currently, we are revamping our UG content to make that update one. These changes will be updated in our upcoming Volume 1 release which is expected to be rolled out by end of March 2020. 
  
Please use the RequestTileUri event of ImageryLayer to add the custom map providers into Maps.  
 Please find the KB link below for more information.  
  
 
Regards, 
Ramya S 


Loader.
Up arrow icon