diff options
author | Hsieh Chin Fan <pham@topo.tw> | 2024-10-15 00:10:39 +0800 |
---|---|---|
committer | Hsieh Chin Fan <pham@topo.tw> | 2024-10-15 15:05:55 +0800 |
commit | c39dcc9b5a9055fec9a58ce833bd9535ba19b086 (patch) | |
tree | 6be9cb28e7c4f1fc6a0a453a8e1fc00a2cf35b5e /src/css | |
parent | 7dc541019225eeb7d4d9ff678b94d0c54cbf9e5c (diff) |
feat: patch 2c9ffa2
* addAnchorByPoint -> addMarkerByPoint
just return newly created marker
* Add pointByArrow as general element in container
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/dumbymap.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/css/dumbymap.css b/src/css/dumbymap.css index 6c581fa..dc1f59b 100644 --- a/src/css/dumbymap.css +++ b/src/css/dumbymap.css | |||
@@ -391,6 +391,10 @@ root { | |||
391 | cursor: crosshair !important; | 391 | cursor: crosshair !important; |
392 | } | 392 | } |
393 | } | 393 | } |
394 | |||
395 | .point-by-arrow { | ||
396 | display: block; | ||
397 | } | ||
394 | } | 398 | } |
395 | 399 | ||
396 | 400 | ||
@@ -811,3 +815,14 @@ root { | |||
811 | background: #E4E4E7; | 815 | background: #E4E4E7; |
812 | } | 816 | } |
813 | } | 817 | } |
818 | |||
819 | .point-by-arrow { | ||
820 | display: none; | ||
821 | padding: 5px; | ||
822 | |||
823 | position: absolute; | ||
824 | |||
825 | transform: translate(-50%, -50%); | ||
826 | cursor: crosshair; | ||
827 | pointer-events: none; | ||
828 | } | ||