Skip to content

New channels for map services such as WMS  #101

Description

@eric-briscoe

New channels can be added to enable addition of common geospatial services such as WMS, WMTS, TMS

WMS Example:
map.services.wms.add - add service to map. If service with url already exists, treat as a refresh, remove current WMS, get the capabilities again
{
name: "Example Name",
url: "http://wmsserviceurlhere",
enabled: true,
defaultLayerNames : ["layer1","layer2"],
overlayId: "f324r-gfwf342g-wq34w-w34tg"
}
map.services.wms.remove - removes the service from map
{
url: "http://wmsserviceurlhere"
}
map.services.wms.enable - Turns service back on with previously selected layers active
{
url: "http://wmsserviceurlhere"
}
map.services.wms.disable - Allows developer to disable the entire service
{
url: "http://wmsserviceurlhere"
}
map.services.wms.showlayers - Allows developer to show on or more layers from service
{
url: "http://wmsserviceurlhere",
lyerNames: ["layer1","layer2"]
}
map.services.wms.hidelayers - Allows developer to hide one or more layers from service
{
url: "http://wmsserviceurlhere",
lyerNames: ["layer1","layer2"]
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions