Skip to content

Support multiple TileLayers with different CRSs #2041

@CallumHoughton

Description

@CallumHoughton

What do you want implemented?

Hello, in the documentation for a custom CRS you are able to control the CRS at the layer level - specifically for WMS like:

  TileLayerOptions(
    opacity: 1.0,
    backgroundColor: Colors.transparent,
    wmsOptions: WMSTileLayerOptions(
      // Set the WMS layer's CRS
      crs: epsg3413CRS,
      transparent: true,
      format: 'image/jpeg',
      baseUrl:
          'https://www.gebco.net/data_and_products/gebco_web_services/north_polar_view_wms/mapserv?',
      layers: ['gebco_north_polar_view'],
    ),
  );

Is there any support for doing the same thing for simple TileLayer layers? For instance, if I have a TMS that returns tiles in EPSG:27700 (British National Grid) I would like to use this but without having to set a crs for the entire map - just for the layer itself that needs reprojecting.

What other alternatives are available?

No response

Can you provide any other information?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    P: 3 (low)(Default priority for feature requests)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions