Skip to content

Map Tiles Providers Add with UNC folder #234

@morl0048

Description

@morl0048

Following an issue I created on SO.

I would like to be able to give a folder location instead of a web URL.

For example, I have the following code:

_map.Tiles.Providers.Add(
    CUSTOM_MAP_TILES_PROVIDER_ID,
    "My Map provider",
    $"http://MyWebServer01/MapTiles/{{zoom}}/{{x}}/{{y}}.png",
    tkTileProjection.SphericalMercator, MINIMUM_ZOOM, MAXIMUM_ZOOM);

If have a \\MyWebServer01\MapTiles shared folder. I would like to be able to use the following code:

_map.Tiles.Providers.Add(
    CUSTOM_MAP_TILES_PROVIDER_ID,
    "My Map provider",
    $"\\MyWebServer01\MapTiles\{{zoom}}\{{x}}\{{y}}.png",
    tkTileProjection.SphericalMercator, MINIMUM_ZOOM, MAXIMUM_ZOOM);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions