Skip to content

Rename registerPatterns/registerSymbols as addPatternsToMap/addSymbolsToMap #241

@markfee

Description

@markfee

The methods registerPatterns and registerSymbols are confusingly named, as they actually add the passed Patterns/Symbols as images to the map.

So they would be better named as addPatternsToMap / addSymbolsToMap respectively

Similarly getPatternImageId expects a "dataset" parameter, but it is in fact only a style config that is required
and registerPatterns expects patternConfigs but that is actually an array of Styles, so some renaming would aid understanding

Metadata

Metadata

Assignees

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