Skip to content

Support Mapbox custom layers with special characters #287

@planemad

Description

@planemad

Thank you @timwaters for this incredibly useful tool ❤️ . It is being used to democratize access to landuse maps in India publicmap/amche-atlas#23

We have a custom map layer of village borders made with Mapbox to help with the rectification, but are unable to add it to map warper.

This is a sample png tile https://api.mapbox.com/styles/v1/planemad/cm3gyibd3004x01qz08rohcsg/tiles/256/5/19/13@2x?access_token=pk.eyJ1IjoicGxhbmVtYWQiLCJhIjoiY2x2MzZwbGRyMGdheDJtbXVwdDA4aDNyaCJ9.nbvz6aNGQo68xa4NtWH26A:

Sample tile

While adding as a custom layer, the special characters is being removed and the url breaks.

https://api.mapbox.com/styles/v1/planemad/cm3gyibd3004x01qz08rohcsg/tiles/256/3/3/6.nbvz6aNGQo68xa4NtWH26A

Screenshot 2025-01-06 at 8 56 47 AM

Is there a workaround or some other way to add such a layer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions