Skip to content

Conversation

@JinIgarashi
Copy link
Contributor

Description of Changes

Instead of using mapType for map prop of maplibre adapter constructor options, I changed to use actual MaplibreMap type like what Mapbox adapter is doing.

export class TerraDrawMapboxGLAdapter extends TerraDrawExtend.TerraDrawBaseAdapter {
constructor(
config: {
map: mapboxgl.Map;
renderBelowLayerId?: string;
prefixId?: string;
} & TerraDrawExtend.BaseAdapterConfig,
) {

Link to Issue

#737

PR Checklist

  • The PR title follows the conventional commit standard
  • There is a associated GitHub issue
  • If I have added significant code changes, there are relevant tests
  • If there are behaviour changes these are documented

@JinIgarashi JinIgarashi force-pushed the fix/maplibre-adapter-map-type branch from d2c0b74 to 2bb8ede Compare December 29, 2025 02:48
@JinIgarashi JinIgarashi force-pushed the fix/maplibre-adapter-map-type branch from 2bb8ede to 1061051 Compare December 29, 2025 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant