File tree Expand file tree Collapse file tree 6 files changed +17
-1
lines changed
src/layer-helpers/point-features Expand file tree Collapse file tree 6 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format
44is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this
55project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
66
7+ ## [ 1.2.2] - 2025-10-05
8+
9+ - Add ` pointSymbolIndex ` to allow custom loading of symbols by external code
10+ - Add ` sample_locality ` and ` fold_axis ` symbols
11+
712## [ 1.2.1] - 2025-06-25
813
914Small improvements to types and styles
Original file line number Diff line number Diff line change 11{
22 "name" : " @macrostrat/map-styles" ,
3- "version" : " 1.2.1 " ,
3+ "version" : " 1.2.2 " ,
44 "description" : " Utilities for working with Mapbox map styles" ,
55 "main" : " dist/index.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ class MeasurementStyler {
7777 }
7878}
7979
80+ const pointSymbolIndex = pointSymbols ;
81+
8082async function setupPointSymbols ( map ) {
8183 /** Load and prepare all symbols for measurements */
8284 return Promise . all (
@@ -89,6 +91,7 @@ async function setupPointSymbols(map) {
8991 ) ;
9092}
9193
94+ export { pointSymbolIndex } ;
9295export * from "./icon-image" ;
9396export * from "./symbol-layer" ;
9497export { MeasurementStyler , setupPointSymbols } ;
File renamed without changes.
Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ import point from "./point.png";
1414import shearZoneInclined from "./shear_zone_inclined.png" ;
1515import shearZoneVertical from "./shear_zone_vertical.png" ;
1616import vein from "./vein.png" ;
17+ import foldAxis from "./fold_axis.png" ;
18+ import sampleLocality from "./sample_locality.png" ;
1719
1820export {
1921 beddingHorizontal ,
@@ -32,6 +34,8 @@ export {
3234 shearZoneInclined ,
3335 shearZoneVertical ,
3436 vein ,
37+ foldAxis ,
38+ sampleLocality ,
3539} ;
3640
3741export default {
@@ -50,6 +54,8 @@ export default {
5054 shearZoneInclined,
5155 shearZoneVertical,
5256 vein,
57+ foldAxis,
58+ sampleLocality,
5359} ;
5460
5561export type PointSymbolName =
@@ -67,5 +73,7 @@ export type PointSymbolName =
6773 | "lineationGeneral"
6874 | "point"
6975 | "vein"
76+ | "foldAxis"
77+ | "sampleLocality"
7078 | "shearZoneInclined"
7179 | "shearZoneVertical" ;
File renamed without changes.
You can’t perform that action at this time.
0 commit comments