Package 

Class WmsUrlTileProvider

  • All Implemented Interfaces:
    com.google.android.gms.maps.model.TileProvider

    
    public final class WmsUrlTileProvider
    extends UrlTileProvider
                        

    A UrlTileProvider for Web Map Service (WMS) layers that use the EPSG:3857 (Web Mercator) projection.

    • Constructor Detail

      • WmsUrlTileProvider

        WmsUrlTileProvider(Integer width, Integer height, Function5<Double, Double, Double, Double, Integer, String> urlFormatter)
        Parameters:
        width - the width of the tile in pixels.
        height - the height of the tile in pixels.
        urlFormatter - a lambda that returns the WMS URL for the given bounding box coordinates (xMin, yMin, xMax, yMax) and zoom level.