Skip to content

add new basemaps #16

Open
Open
@xavirayo

Description

@xavirayo

Is it possible to add new wms basemaps?
I tried it adding this to basemaps in app.js:
{"id": "GEBCO", "type": "tiled", "label": "GEBCO", "url": "https://www.gebco.net/data_and_products/gebco_web_services/web_map_service/mapserv?"}

And this to the set basemap function

} else if (basemap.type === 'tiled'){
if (basemap.id === 'GEBCO') {
options.attribution = "GEBCO";

But still can't visualize the layer although it appars in the basemaps list. Do you know what I'm doing wrong?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions