From 125f6e3057a16c15c4fe6e379bce601af3cfa0c5 Mon Sep 17 00:00:00 2001 From: Hsieh Chin Fan Date: Thu, 24 Oct 2024 21:41:09 +0800 Subject: feat: patch 14f1398, more marker type * add module 'marker' for svg markers, they are from https://labs.mapbox.com/maki-icons/editor/ * use grid layout and title for menu itmes * update mapclay version to use element for adding marker --- src/marker.mjs | 133 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 src/marker.mjs (limited to 'src/marker.mjs') diff --git a/src/marker.mjs b/src/marker.mjs new file mode 100644 index 0000000..7eb5148 --- /dev/null +++ b/src/marker.mjs @@ -0,0 +1,133 @@ +export const pin = { + order: 1, + html: '', + size: [27, 41], + anchor: [13.5, 35.25], +} + +export const circle = { + order: 2, + html: ' ', + size: [20, 20], + anchor: [10, 10], +} + +export const water = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const campsite = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const caution = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const communication = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const cross = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const construction = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const danger = { + html: ' ', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const fence = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const heliport = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const hot_spring = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const mountain = { + html: ' ', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const parking = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const rail = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const racetrack = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const roladblock = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const star = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const animal = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const waterfall = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const triangle = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} + +export const triangle_white = { + html: '', + size: [27, 27], + anchor: [13.5, 13.5], +} -- cgit v1.2.3-70-g09d2