-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Selecting any sample results in a blank map and a slew of CORSRequestNotHttp
errors about bogus request URLs such as openmapsamples-highway-attributes://landuse
and openmapsamples-highway-attributes://park
. The culprit appears to be this source definition:
OpenMapSamples-MapLibre/OpenMapSamplesControl.js
Lines 331 to 334 in d0bb7b8
style.sources[sampleSourceId] = { | |
type: 'geojson', | |
data: `openmapsamples-${sample.getId()}://${sourceLayerId}`, | |
}; |
This comes immediately after adding a protocol for “openmapsamples-highway-attributes”. Does the client application need to set up a CORS rule for every custom MapLibre protocol generated by a sample?
Reproduces in Firefox 143.
Metadata
Metadata
Assignees
Labels
No labels