@projektemacher/storymapjs 0.10.8 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG +81 -0
- package/README.md +129 -12
- package/dist/assets/{demo-DBpeF31K.js → demo-bWnOyfUw.js} +1 -1
- package/dist/assets/harness-C3JUv5Ii.js +1 -0
- package/dist/assets/{harness-multi-CYHgI0a9.js → harness-multi-XZNex3tb.js} +1 -1
- package/dist/assets/{harness-support-Do7sIp2j.js → harness-support-CjfZIVeb.js} +1 -1
- package/dist/assets/main-DQ32hWBM.js +17 -0
- package/dist/context.json +13 -2
- package/dist/css/storymap.css +1 -1
- package/dist/demo.html +3 -2
- package/dist/docs/api/assets/navigation.js +1 -1
- package/dist/docs/api/assets/search.js +1 -1
- package/dist/docs/api/classes/StoryMap.html +777 -269
- package/dist/docs/api/functions/MediaType.html +1 -1
- package/dist/docs/api/functions/isPresentation3Collection.html +1 -1
- package/dist/docs/api/functions/isPresentation3Manifest.html +1 -1
- package/dist/docs/api/functions/isSlideshowCollection.html +51 -0
- package/dist/docs/api/functions/loadCSS.html +1 -1
- package/dist/docs/api/functions/manifestToStorymapData.html +1 -1
- package/dist/docs/api/functions/setLanguage.html +1 -1
- package/dist/docs/api/functions/slideshowToStorymapData.html +51 -0
- package/dist/docs/api/functions/slideshowVersion.html +48 -0
- package/dist/docs/api/functions/storymapToManifest.html +1 -1
- package/dist/docs/api/functions/validateStorymap.html +1 -1
- package/dist/docs/api/functions/validateStorymapAndReport.html +1 -1
- package/dist/docs/api/index.html +115 -12
- package/dist/docs/api/interfaces/AnimationHandle.html +2 -2
- package/dist/docs/api/interfaces/ImagereadyPayload.html +4 -4
- package/dist/docs/api/interfaces/LanguageEntry.html +6 -6
- package/dist/docs/api/interfaces/LatLngLiteral.html +4 -4
- package/dist/docs/api/interfaces/LoadOptions.html +2 -2
- package/dist/docs/api/interfaces/MapEvents.html +116 -0
- package/dist/docs/api/interfaces/MapMarkerEvents.html +66 -0
- package/dist/docs/api/interfaces/MarkerEventPayload.html +57 -0
- package/dist/docs/api/interfaces/MediaEvents.html +78 -0
- package/dist/docs/api/interfaces/MenuBarEvents.html +114 -0
- package/dist/docs/api/interfaces/MessageEvents.html +72 -0
- package/dist/docs/api/interfaces/OlLayer.html +1 -1
- package/dist/docs/api/interfaces/OlMap.html +1 -1
- package/dist/docs/api/interfaces/OlSource.html +1 -1
- package/dist/docs/api/interfaces/OlTileLayer.html +1 -1
- package/dist/docs/api/interfaces/OlVectorLayer.html +1 -1
- package/dist/docs/api/interfaces/OlView.html +1 -1
- package/dist/docs/api/interfaces/SlideBackgroundState.html +66 -0
- package/dist/docs/api/interfaces/SlideEvents.html +78 -0
- package/dist/docs/api/interfaces/SlideNavEvents.html +72 -0
- package/dist/docs/api/interfaces/SlideshowPlayerSettings.html +182 -0
- package/dist/docs/api/interfaces/SlideshowToStorymapResult.html +60 -0
- package/dist/docs/api/interfaces/SlideshowTranslatorOptions.html +65 -0
- package/dist/docs/api/interfaces/SlideshowWarning.html +72 -0
- package/dist/docs/api/interfaces/StoryMapEvents.html +146 -0
- package/dist/docs/api/interfaces/StoryMapMarker.html +763 -0
- package/dist/docs/api/interfaces/StorySliderEvents.html +102 -0
- package/dist/docs/api/interfaces/StorymapBasemap.html +69 -0
- package/dist/docs/api/interfaces/StorymapData.html +12 -6
- package/dist/docs/api/interfaces/StorymapDataWrapper.html +2 -2
- package/dist/docs/api/interfaces/StorymapDocument.html +2 -2
- package/dist/docs/api/interfaces/StorymapError.html +3 -3
- package/dist/docs/api/interfaces/StorymapGeoreference.html +5 -5
- package/dist/docs/api/interfaces/StorymapGeoreferenceBody.html +4 -4
- package/dist/docs/api/interfaces/StorymapGroundControlPoint.html +4 -4
- package/dist/docs/api/interfaces/StorymapLanguageMap.html +2 -2
- package/dist/docs/api/interfaces/StorymapManifest.html +12 -12
- package/dist/docs/api/interfaces/StorymapManifestAnnotation.html +43 -11
- package/dist/docs/api/interfaces/StorymapManifestBackground.html +6 -6
- package/dist/docs/api/interfaces/StorymapManifestCanvas.html +65 -17
- package/dist/docs/api/interfaces/StorymapManifestContentResource.html +8 -8
- package/dist/docs/api/interfaces/StorymapManifestFeatureCollection.html +4 -4
- package/dist/docs/api/interfaces/StorymapManifestGeoreferencing.html +7 -7
- package/dist/docs/api/interfaces/StorymapManifestImageService.html +4 -4
- package/dist/docs/api/interfaces/StorymapManifestRange.html +5 -5
- package/dist/docs/api/interfaces/StorymapManifestService.html +4 -4
- package/dist/docs/api/interfaces/StorymapManifestSpecificResource.html +4 -4
- package/dist/docs/api/interfaces/StorymapManifestStatement.html +3 -3
- package/dist/docs/api/interfaces/StorymapMapOptions.html +5 -5
- package/dist/docs/api/interfaces/StorymapOptions.html +277 -75
- package/dist/docs/api/interfaces/StorymapOverlayLayer.html +42 -11
- package/dist/docs/api/interfaces/StorymapSlide.html +70 -16
- package/dist/docs/api/interfaces/StorymapSlideBackground.html +4 -4
- package/dist/docs/api/interfaces/StorymapSlideLocation.html +58 -14
- package/dist/docs/api/interfaces/StorymapSlideMarker.html +8 -9
- package/dist/docs/api/interfaces/StorymapSlideMedia.html +49 -10
- package/dist/docs/api/interfaces/StorymapSlideNarration.html +61 -9
- package/dist/docs/api/interfaces/StorymapSlideText.html +4 -4
- package/dist/docs/api/interfaces/StorymapTilejson.html +8 -8
- package/dist/docs/api/interfaces/SwipableEvents.html +102 -0
- package/dist/docs/api/interfaces/TextEvents.html +66 -0
- package/dist/docs/api/media/events.md +66 -0
- package/dist/docs/api/media/migration-from-knightlab.md +89 -49
- package/dist/docs/api/media/slideshow.md +109 -0
- package/dist/docs/api/media/storymap-as-iiif-manifest.md +1007 -0
- package/dist/docs/api/modules.html +6 -6
- package/dist/docs/api/types/ContentState.html +3 -3
- package/dist/docs/api/types/FiredEvent.html +43 -0
- package/dist/docs/api/types/ImagereadyKind.html +1 -1
- package/dist/docs/api/types/MediaTypeMatch.html +5 -5
- package/dist/docs/api/types/SwipeDirection.html +36 -0
- package/dist/docs/api/types/TileSourceFactory.html +1 -1
- package/dist/docs/authoring.html +20 -7
- package/dist/docs/events.html +263 -0
- package/dist/docs/iiif.html +136 -22
- package/dist/docs/migration.html +66 -19
- package/dist/docs/readme.html +113 -12
- package/dist/embed/index.html +7 -0
- package/dist/examples/font-css-false.json +33 -0
- package/dist/examples/issue-image-region.json +1 -1
- package/dist/examples/layers-control.json +60 -0
- package/dist/examples/map-template-provider.json +36 -0
- package/dist/examples/multi-media.json +71 -0
- package/dist/examples-iiif/annotated-image.json +16 -0
- package/dist/examples-iiif/font-css-false.json +114 -0
- package/dist/examples-iiif/issue-image-region.json +1 -1
- package/dist/examples-iiif/layers-control.json +226 -0
- package/dist/examples-iiif/map-template-provider.json +133 -0
- package/dist/examples-iiif/multi-media.json +237 -0
- package/dist/examples-slideshow/single.json +79 -0
- package/dist/examples-slideshow/static/pixel.png +0 -0
- package/dist/examples-slideshow/static.json +44 -0
- package/dist/harness-multi.html +3 -3
- package/dist/harness.html +4 -3
- package/dist/index.html +3 -2
- package/dist/js/storymap.d.ts +1326 -289
- package/dist/js/storymap.js +6690 -4784
- package/dist/js/storymap.js.map +1 -1
- package/dist/navplace-properties.json +14 -0
- package/dist/site.css +54 -36
- package/docs/migration-from-knightlab.md +89 -49
- package/docs/storymap-as-iiif-manifest.md +199 -126
- package/package.json +4 -2
- package/schema/storymap.schema.json +334 -34
- package/src/core/Util.ts +3 -1
- package/src/core/mixins.ts +42 -28
- package/src/language/Language.ts +7 -0
- package/src/language/locale/.expected-gaps.json +287 -27
- package/src/language/locale/de.json +11 -1
- package/src/language/locale/en.json +11 -1
- package/src/main.ts +51 -0
- package/src/map/Map.ts +44 -6
- package/src/map/MapMarker.ts +16 -3
- package/src/map/openlayers/Map.OpenLayers.ts +787 -62
- package/src/map/openlayers/MapMarker.OpenLayers.ts +113 -13
- package/src/map/slideView.ts +149 -0
- package/src/map/types.ts +2 -0
- package/src/media/EmbedUtil.ts +27 -2
- package/src/media/Media.ts +27 -4
- package/src/media/embedId.ts +6 -0
- package/src/media/types/Flickr.ts +14 -3
- package/src/media/types/HtmlMedia.ts +66 -0
- package/src/media/types/Image.ts +15 -3
- package/src/media/types/SoundCloud.ts +1 -1
- package/src/media/types/Text.ts +27 -8
- package/src/media/types/Twitter.ts +9 -7
- package/src/media/types/Vimeo.ts +1 -1
- package/src/media/types/YouTube.ts +2 -2
- package/src/scss/Typography.scss +15 -15
- package/src/scss/VCO.StoryMap.scss +173 -8
- package/src/scss/core/Reset.scss +5 -18
- package/src/scss/map/VCO.Map.scss +1 -1
- package/src/scss/map/VCO.MapMarker.scss +20 -9
- package/src/scss/map/openlayers/VCO.Map.OpenLayers.scss +7 -4
- package/src/scss/media/VCO.Media.scss +7 -7
- package/src/scss/media/types/VCO.Media.Blockquote.scss +1 -1
- package/src/scss/media/types/VCO.Media.Text.scss +5 -5
- package/src/scss/media/types/VCO.Media.Twitter.scss +4 -4
- package/src/scss/media/types/VCO.Media.Wikipedia.scss +2 -19
- package/src/scss/site/site.scss +55 -36
- package/src/scss/slider/VCO.Slide.scss +49 -11
- package/src/scss/slider/VCO.SlideNav.scss +23 -7
- package/src/scss/slider/VCO.StorySlider.scss +50 -0
- package/src/scss/snapmap/VCO.SnapMap.scss +3 -3
- package/src/scss/ui/VCO.Consent.scss +20 -14
- package/src/scss/ui/VCO.Layers.scss +119 -0
- package/src/scss/ui/VCO.MenuBar.Button.scss +140 -19
- package/src/scss/ui/VCO.MenuBar.scss +9 -2
- package/src/scss/ui/VCO.Message.scss +14 -0
- package/src/slider/Slide.ts +232 -74
- package/src/slider/SlideNav.ts +15 -4
- package/src/slider/StorySlider.ts +203 -22
- package/src/storymap/Consent.ts +22 -0
- package/src/storymap/StoryMap.ts +944 -131
- package/src/storymap/content-state.ts +3 -8
- package/src/storymap/font-css.ts +72 -0
- package/src/storymap/from-slideshow.ts +785 -0
- package/src/storymap/iiif-shared.ts +228 -0
- package/src/storymap/iiif.ts +289 -100
- package/src/storymap/to-iiif.ts +131 -44
- package/src/types.ts +382 -17
- package/src/ui/LayersControl.ts +302 -0
- package/src/ui/MenuBar.ts +232 -21
- package/src/ui/Message.ts +36 -3
- package/src/ui/Swipable.ts +25 -7
- package/dist/assets/harness-Cr0rYpvt.js +0 -1
- package/dist/assets/main-DXalctuR.js +0 -17
- package/src/scss/VCO.StoryMap.Dark.scss +0 -150
- package/src/scss/Variables.Dark.scss +0 -57
|
@@ -0,0 +1,763 @@
|
|
|
1
|
+
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>StoryMapMarker | StoryMapJS API</title><meta name="description" content="Documentation for StoryMapJS API"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><link rel="stylesheet" href="../assets/custom.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
+
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">StoryMapJS API</a>
|
|
3
|
+
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
+
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
+
<div class="container container-main">
|
|
8
|
+
<div class="col-content">
|
|
9
|
+
<div class="tsd-page-title">
|
|
10
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
+
<li><a href="" aria-current="page">StoryMapMarker</a></li></ul>
|
|
12
|
+
<h1>Interface StoryMapMarker</h1></div>
|
|
13
|
+
<section class="tsd-panel tsd-comment">
|
|
14
|
+
<div class="tsd-comment tsd-typography"><p>A map marker as returned by <code>storymap.getMarker(n)</code> / <code>getMarkers()</code> —
|
|
15
|
+
the handle for <code>openPopup()</code> / <code>closePopup()</code> / <code>popupOpen</code>.</p>
|
|
16
|
+
</div></section>
|
|
17
|
+
<div class="tsd-signature"><span class="tsd-signature-keyword">interface</span> <span class="tsd-kind-interface">StoryMapMarker</span> <span class="tsd-signature-symbol">{</span><br/> <a class="tsd-kind-property" href="#_audio_badge">_audio_badge</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_custom_icon">_custom_icon</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">IconSpec</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_custom_icon_url">_custom_icon_url</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_custom_image_icon">_custom_image_icon</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">false</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_el">_el</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_icon">_icon</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">IconSpec</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">HTMLDivElement</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_is_active">_is_active</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_marker">_marker</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLDivElement</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_marker_label">_marker_label</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_onmarkerclickbound">_onMarkerClickBound</a><span class="tsd-signature-symbol">:</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span>) <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_onmarkerkeybound">_onMarkerKeyBound</a><span class="tsd-signature-symbol">:</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">KeyboardEvent</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span>) <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_onpopupkeybound">_onPopupKeyBound</a><span class="tsd-signature-symbol">:</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">KeyboardEvent</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span>) <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_overlay">_overlay</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Overlay</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_popup_el">_popup_el</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#_popup_enabled">_popup_enabled</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#animator">animator</a><span class="tsd-signature-symbol">:</span> <a href="AnimationHandle.html" class="tsd-signature-type tsd-kind-interface">AnimationHandle</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#data">data</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#fire">fire</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?:</span> <a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">this</span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?:</span> <a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#marker_number">marker_number</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#media_icon_class">media_icon_class</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#options">options</a><span class="tsd-signature-symbol">:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-property" href="#timer">timer</a><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Timeout</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <span class="tsd-signature-keyword">get</span> <a class="tsd-kind-get-signature" href="#popupopenpopupopen">popupOpen</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_active-1">_active</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_addto-1">_addTo</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <a href="OlMap.html" class="tsd-signature-type tsd-kind-interface">OlMap</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_closepopup-1">_closePopup</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_createmarker-1">_createMarker</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_createmarkerelement-1">_createMarkerElement</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLDivElement</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_createpopupelement-1">_createPopupElement</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_customiconanchor-1">_customIconAnchor</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_initlayout-1">_initLayout</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_location-1">_location</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_onmarkerclick-1">_onMarkerClick</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_presentation-1">_presentation</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MarkerPresentation</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_removefrom-1">_removeFrom</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <a href="OlMap.html" class="tsd-signature-type tsd-kind-interface">OlMap</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_togglepopup-1">_togglePopup</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_updateaudiobadge-1">_updateAudioBadge</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#_updatedisplay-1">_updateDisplay</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">animate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#active-1">active</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#addto-1">addTo</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#closepopup-1">closePopup</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#createmarker-1">createMarker</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#createpopup-1">createPopup</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#dispose-1">dispose</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#haseventlisteners-1">hasEventListeners</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#haseventlistenersk">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#haseventlistenersk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#hide-1">hide</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#ispopupenabled-1">isPopupEnabled</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#latlon-1">latLon</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#location-1">location</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#off-1">off</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#offk">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#offk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <a href="../types/FiredEvent.html" class="tsd-signature-type tsd-kind-type-alias">FiredEvent</a><span class="tsd-signature-symbol"><</span><a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#offk">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#on-1">on</a><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#onk">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <a href="../types/FiredEvent.html" class="tsd-signature-type tsd-kind-type-alias">FiredEvent</a><span class="tsd-signature-symbol"><</span><a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">this</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#openpopup-1">openPopup</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#removefrom-1">removeFrom</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#show-1">show</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#togglepopup-1">togglePopup</a><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">;</span><br/> <a class="tsd-kind-call-signature" href="#updatedisplay-1">updateDisplay</a><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">h</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">a</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span></div>
|
|
18
|
+
<section class="tsd-panel tsd-hierarchy" data-refl="2646">
|
|
19
|
+
<h4>Hierarchy</h4>
|
|
20
|
+
<ul class="tsd-hierarchy">
|
|
21
|
+
<li class="tsd-hierarchy-item"><span class="tsd-signature-type">default</span>
|
|
22
|
+
<ul class="tsd-hierarchy">
|
|
23
|
+
<li class="tsd-hierarchy-item"><span class="tsd-hierarchy-target">StoryMapMarker</span></li></ul></li></ul></section><aside class="tsd-sources">
|
|
24
|
+
<ul>
|
|
25
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L28">src/map/openlayers/MapMarker.OpenLayers.ts:28</a></li></ul></aside>
|
|
26
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
27
|
+
<section class="tsd-panel tsd-index-panel">
|
|
28
|
+
<details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
29
|
+
<h5 class="tsd-index-heading uppercase">Index</h5></summary>
|
|
30
|
+
<div class="tsd-accordion-details">
|
|
31
|
+
<section class="tsd-index-section">
|
|
32
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="properties">Properties<a href="#properties" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
33
|
+
<div class="tsd-index-list"><a href="#_audio_badge" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>audio_<wbr/>badge</span></a>
|
|
34
|
+
<a href="#_custom_icon" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>custom_<wbr/>icon</span></a>
|
|
35
|
+
<a href="#_custom_icon_url" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>custom_<wbr/>icon_<wbr/>url</span></a>
|
|
36
|
+
<a href="#_custom_image_icon" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>custom_<wbr/>image_<wbr/>icon</span></a>
|
|
37
|
+
<a href="#_el" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>el</span></a>
|
|
38
|
+
<a href="#_icon" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>icon</span></a>
|
|
39
|
+
<a href="#_is_active" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>is_<wbr/>active</span></a>
|
|
40
|
+
<a href="#_marker" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>marker</span></a>
|
|
41
|
+
<a href="#_marker_label" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>marker_<wbr/>label</span></a>
|
|
42
|
+
<a href="#_onmarkerclickbound" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>on<wbr/>Marker<wbr/>Click<wbr/>Bound</span></a>
|
|
43
|
+
<a href="#_onmarkerkeybound" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>on<wbr/>Marker<wbr/>Key<wbr/>Bound</span></a>
|
|
44
|
+
<a href="#_onpopupkeybound" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>on<wbr/>Popup<wbr/>Key<wbr/>Bound</span></a>
|
|
45
|
+
<a href="#_overlay" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>overlay</span></a>
|
|
46
|
+
<a href="#_popup_el" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>popup_<wbr/>el</span></a>
|
|
47
|
+
<a href="#_popup_enabled" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>popup_<wbr/>enabled</span></a>
|
|
48
|
+
<a href="#animator" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>animator</span></a>
|
|
49
|
+
<a href="#data" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a>
|
|
50
|
+
<a href="#fire" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fire</span></a>
|
|
51
|
+
<a href="#marker_number" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>marker_<wbr/>number</span></a>
|
|
52
|
+
<a href="#media_icon_class" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>media_<wbr/>icon_<wbr/>class</span></a>
|
|
53
|
+
<a href="#options" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>options</span></a>
|
|
54
|
+
<a href="#timer" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timer</span></a>
|
|
55
|
+
</div></section>
|
|
56
|
+
<section class="tsd-index-section">
|
|
57
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="accessors">Accessors<a href="#accessors" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
58
|
+
<div class="tsd-index-list"><a href="#popupopen" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>popup<wbr/>Open</span></a>
|
|
59
|
+
</div></section>
|
|
60
|
+
<section class="tsd-index-section">
|
|
61
|
+
<h3 class="tsd-index-heading tsd-anchor-link" id="methods">Methods<a href="#methods" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
62
|
+
<div class="tsd-index-list"><a href="#_active" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>active</span></a>
|
|
63
|
+
<a href="#_addto" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>add<wbr/>To</span></a>
|
|
64
|
+
<a href="#_closepopup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>close<wbr/>Popup</span></a>
|
|
65
|
+
<a href="#_createmarker" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>create<wbr/>Marker</span></a>
|
|
66
|
+
<a href="#_createmarkerelement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>create<wbr/>Marker<wbr/>Element</span></a>
|
|
67
|
+
<a href="#_createpopupelement" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>create<wbr/>Popup<wbr/>Element</span></a>
|
|
68
|
+
<a href="#_customiconanchor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>custom<wbr/>Icon<wbr/>Anchor</span></a>
|
|
69
|
+
<a href="#_initlayout" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>init<wbr/>Layout</span></a>
|
|
70
|
+
<a href="#_location" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>location</span></a>
|
|
71
|
+
<a href="#_onmarkerclick" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>on<wbr/>Marker<wbr/>Click</span></a>
|
|
72
|
+
<a href="#_presentation" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>presentation</span></a>
|
|
73
|
+
<a href="#_removefrom" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>remove<wbr/>From</span></a>
|
|
74
|
+
<a href="#_togglepopup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>toggle<wbr/>Popup</span></a>
|
|
75
|
+
<a href="#_updateaudiobadge" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>update<wbr/>Audio<wbr/>Badge</span></a>
|
|
76
|
+
<a href="#_updatedisplay" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>update<wbr/>Display</span></a>
|
|
77
|
+
<a href="#active" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>active</span></a>
|
|
78
|
+
<a href="#addto" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To</span></a>
|
|
79
|
+
<a href="#closepopup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close<wbr/>Popup</span></a>
|
|
80
|
+
<a href="#createmarker" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Marker</span></a>
|
|
81
|
+
<a href="#createpopup" class="tsd-index-link deprecated tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Popup</span></a>
|
|
82
|
+
<a href="#dispose" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a>
|
|
83
|
+
<a href="#haseventlisteners" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Event<wbr/>Listeners</span></a>
|
|
84
|
+
<a href="#hide" class="tsd-index-link deprecated tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide</span></a>
|
|
85
|
+
<a href="#ispopupenabled" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Popup<wbr/>Enabled</span></a>
|
|
86
|
+
<a href="#latlon" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lat<wbr/>Lon</span></a>
|
|
87
|
+
<a href="#location" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>location</span></a>
|
|
88
|
+
<a href="#off" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a>
|
|
89
|
+
<a href="#on" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a>
|
|
90
|
+
<a href="#openpopup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>open<wbr/>Popup</span></a>
|
|
91
|
+
<a href="#removefrom" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From</span></a>
|
|
92
|
+
<a href="#show" class="tsd-index-link deprecated tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show</span></a>
|
|
93
|
+
<a href="#togglepopup" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Popup</span></a>
|
|
94
|
+
<a href="#updatedisplay" class="tsd-index-link tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Display</span></a>
|
|
95
|
+
</div></section></div></details></section></section>
|
|
96
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
97
|
+
<h2 class="tsd-anchor-link" id="properties-1">Properties<a href="#properties-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
98
|
+
<section>
|
|
99
|
+
<section class="tsd-panel tsd-member">
|
|
100
|
+
<h3 class="tsd-anchor-link" id="_audio_badge"><span>_<wbr/>audio_<wbr/>badge</span><a href="#_audio_badge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
101
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_audio_badge</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
102
|
+
<div class="tsd-comment tsd-typography"><p>marker.audioBadge: flag a slide that has narration or audio media.</p>
|
|
103
|
+
</div><aside class="tsd-sources">
|
|
104
|
+
<ul>
|
|
105
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L38">src/map/openlayers/MapMarker.OpenLayers.ts:38</a></li></ul></aside></section>
|
|
106
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
107
|
+
<h3 class="tsd-anchor-link" id="_custom_icon"><span>_<wbr/>custom_<wbr/>icon</span><a href="#_custom_icon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
108
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_custom_icon</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">IconSpec</span></div><aside class="tsd-sources">
|
|
109
|
+
<p>Inherited from MapMarker._custom_icon</p>
|
|
110
|
+
<ul>
|
|
111
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L31">src/map/MapMarker.ts:31</a></li></ul></aside></section>
|
|
112
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
113
|
+
<h3 class="tsd-anchor-link" id="_custom_icon_url"><span>_<wbr/>custom_<wbr/>icon_<wbr/>url</span><a href="#_custom_icon_url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
114
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_custom_icon_url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
115
|
+
<p>Inherited from MapMarker._custom_icon_url</p>
|
|
116
|
+
<ul>
|
|
117
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L32">src/map/MapMarker.ts:32</a></li></ul></aside></section>
|
|
118
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
119
|
+
<h3 class="tsd-anchor-link" id="_custom_image_icon"><span>_<wbr/>custom_<wbr/>image_<wbr/>icon</span><a href="#_custom_image_icon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
120
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_custom_image_icon</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">false</span></div><aside class="tsd-sources">
|
|
121
|
+
<p>Inherited from MapMarker._custom_image_icon</p>
|
|
122
|
+
<ul>
|
|
123
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L33">src/map/MapMarker.ts:33</a></li></ul></aside></section>
|
|
124
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
125
|
+
<h3 class="tsd-anchor-link" id="_el"><span>_<wbr/>el</span><a href="#_el" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
126
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_el</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type">HTMLElement</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources">
|
|
127
|
+
<p>Inherited from MapMarker._el</p>
|
|
128
|
+
<ul>
|
|
129
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L28">src/map/MapMarker.ts:28</a></li></ul></aside></section>
|
|
130
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
131
|
+
<h3 class="tsd-anchor-link" id="_icon"><span>_<wbr/>icon</span><a href="#_icon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
132
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_icon</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">false</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">IconSpec</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">HTMLDivElement</span></div><aside class="tsd-sources">
|
|
133
|
+
<p>Inherited from MapMarker._icon</p>
|
|
134
|
+
<ul>
|
|
135
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L30">src/map/MapMarker.ts:30</a></li></ul></aside></section>
|
|
136
|
+
<section class="tsd-panel tsd-member">
|
|
137
|
+
<h3 class="tsd-anchor-link" id="_is_active"><span>_<wbr/>is_<wbr/>active</span><a href="#_is_active" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
138
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_is_active</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
139
|
+
<div class="tsd-comment tsd-typography"><p>Mirrors <code>active()</code>, as a flag rather than a method reference.</p>
|
|
140
|
+
</div><aside class="tsd-sources">
|
|
141
|
+
<ul>
|
|
142
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L50">src/map/openlayers/MapMarker.OpenLayers.ts:50</a></li></ul></aside></section>
|
|
143
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
144
|
+
<h3 class="tsd-anchor-link" id="_marker"><span>_<wbr/>marker</span><a href="#_marker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
145
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_marker</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLDivElement</span></div><aside class="tsd-sources">
|
|
146
|
+
<p>Inherited from MapMarker._marker</p>
|
|
147
|
+
<ul>
|
|
148
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L29">src/map/MapMarker.ts:29</a></li></ul></aside></section>
|
|
149
|
+
<section class="tsd-panel tsd-member">
|
|
150
|
+
<h3 class="tsd-anchor-link" id="_marker_label"><span>_<wbr/>marker_<wbr/>label</span><a href="#_marker_label" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
151
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_marker_label</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
|
|
152
|
+
<div class="tsd-comment tsd-typography"><p>Base accessible name (slide headline or label), without audio suffix.</p>
|
|
153
|
+
</div><aside class="tsd-sources">
|
|
154
|
+
<ul>
|
|
155
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L34">src/map/openlayers/MapMarker.OpenLayers.ts:34</a></li></ul></aside></section>
|
|
156
|
+
<section class="tsd-panel tsd-member">
|
|
157
|
+
<h3 class="tsd-anchor-link" id="_onmarkerclickbound"><span>_<wbr/>on<wbr/>Marker<wbr/>Click<wbr/>Bound</span><a href="#_onmarkerclickbound" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
158
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_onMarkerClickBound</span><span class="tsd-signature-symbol">:</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Event</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span>) <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources">
|
|
159
|
+
<ul>
|
|
160
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L30">src/map/openlayers/MapMarker.OpenLayers.ts:30</a></li></ul></aside></section>
|
|
161
|
+
<section class="tsd-panel tsd-member">
|
|
162
|
+
<h3 class="tsd-anchor-link" id="_onmarkerkeybound"><span>_<wbr/>on<wbr/>Marker<wbr/>Key<wbr/>Bound</span><a href="#_onmarkerkeybound" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
163
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_onMarkerKeyBound</span><span class="tsd-signature-symbol">:</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">KeyboardEvent</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span>) <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div>
|
|
164
|
+
<div class="tsd-comment tsd-typography"><p>Enter/Space activation for keyboard visitors, detached in dispose().</p>
|
|
165
|
+
</div><aside class="tsd-sources">
|
|
166
|
+
<ul>
|
|
167
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L32">src/map/openlayers/MapMarker.OpenLayers.ts:32</a></li></ul></aside></section>
|
|
168
|
+
<section class="tsd-panel tsd-member">
|
|
169
|
+
<h3 class="tsd-anchor-link" id="_onpopupkeybound"><span>_<wbr/>on<wbr/>Popup<wbr/>Key<wbr/>Bound</span><a href="#_onpopupkeybound" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
170
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_onPopupKeyBound</span><span class="tsd-signature-symbol">:</span> (<span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">KeyboardEvent</span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span>) <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div>
|
|
171
|
+
<div class="tsd-comment tsd-typography"><p>Escape-to-close, detached in dispose().</p>
|
|
172
|
+
</div><aside class="tsd-sources">
|
|
173
|
+
<ul>
|
|
174
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L48">src/map/openlayers/MapMarker.OpenLayers.ts:48</a></li></ul></aside></section>
|
|
175
|
+
<section class="tsd-panel tsd-member">
|
|
176
|
+
<h3 class="tsd-anchor-link" id="_overlay"><span>_<wbr/>overlay</span><a href="#_overlay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
177
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_overlay</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Overlay</span></div><aside class="tsd-sources">
|
|
178
|
+
<ul>
|
|
179
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L29">src/map/openlayers/MapMarker.OpenLayers.ts:29</a></li></ul></aside></section>
|
|
180
|
+
<section class="tsd-panel tsd-member">
|
|
181
|
+
<h3 class="tsd-anchor-link" id="_popup_el"><span>_<wbr/>popup_<wbr/>el</span><a href="#_popup_el" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
182
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_popup_el</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div>
|
|
183
|
+
<div class="tsd-comment tsd-typography"><p>The popup card while it is open. <code>declare</code> fields are undefined until
|
|
184
|
+
assigned, so every read below is a truthiness check, never <code>=== null</code>,
|
|
185
|
+
and there is no constructor to initialise them: <code>MapMarker</code>'s own
|
|
186
|
+
constructor already runs <code>_initLayout()</code> → <code>_createMarker()</code>, which
|
|
187
|
+
assigns the flags, and initialising afterwards would wipe them.</p>
|
|
188
|
+
</div><aside class="tsd-sources">
|
|
189
|
+
<ul>
|
|
190
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L46">src/map/openlayers/MapMarker.OpenLayers.ts:46</a></li></ul></aside></section>
|
|
191
|
+
<section class="tsd-panel tsd-member">
|
|
192
|
+
<h3 class="tsd-anchor-link" id="_popup_enabled"><span>_<wbr/>popup_<wbr/>enabled</span><a href="#_popup_enabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
193
|
+
<div class="tsd-signature"><span class="tsd-kind-property">_popup_enabled</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
194
|
+
<div class="tsd-comment tsd-typography"><p>marker.popup: the active marker opens its card when clicked.</p>
|
|
195
|
+
</div><aside class="tsd-sources">
|
|
196
|
+
<ul>
|
|
197
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L36">src/map/openlayers/MapMarker.OpenLayers.ts:36</a></li></ul></aside></section>
|
|
198
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
199
|
+
<h3 class="tsd-anchor-link" id="animator"><span>animator</span><a href="#animator" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
200
|
+
<div class="tsd-signature"><span class="tsd-kind-property">animator</span><span class="tsd-signature-symbol">:</span> <a href="AnimationHandle.html" class="tsd-signature-type tsd-kind-interface">AnimationHandle</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources">
|
|
201
|
+
<p>Inherited from MapMarker.animator</p>
|
|
202
|
+
<ul>
|
|
203
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L39">src/map/MapMarker.ts:39</a></li></ul></aside></section>
|
|
204
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
205
|
+
<h3 class="tsd-anchor-link" id="data"><span>data</span><a href="#data" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
206
|
+
<div class="tsd-signature"><span class="tsd-kind-property">data</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapMarkerData</span></div><aside class="tsd-sources">
|
|
207
|
+
<p>Inherited from MapMarker.data</p>
|
|
208
|
+
<ul>
|
|
209
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L37">src/map/MapMarker.ts:37</a></li></ul></aside></section>
|
|
210
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
211
|
+
<h3 class="tsd-anchor-link" id="fire"><span>fire</span><a href="#fire" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
212
|
+
<div class="tsd-signature"><span class="tsd-kind-property">fire</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?:</span> <a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">this</span> <span class="tsd-signature-symbol">&</span> <span class="tsd-signature-symbol"><</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">data</span><span class="tsd-signature-symbol">?:</span> <a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">this</span></div><aside class="tsd-sources">
|
|
213
|
+
<p>Inherited from MapMarker.fire</p>
|
|
214
|
+
<ul>
|
|
215
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/core/mixins.ts#L32">src/core/mixins.ts:32</a></li>
|
|
216
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L40">src/map/MapMarker.ts:40</a></li></ul></aside></section>
|
|
217
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
218
|
+
<h3 class="tsd-anchor-link" id="marker_number"><span>marker_<wbr/>number</span><a href="#marker_number" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
219
|
+
<div class="tsd-signature"><span class="tsd-kind-property">marker_number</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources">
|
|
220
|
+
<p>Inherited from MapMarker.marker_number</p>
|
|
221
|
+
<ul>
|
|
222
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L34">src/map/MapMarker.ts:34</a></li></ul></aside></section>
|
|
223
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
224
|
+
<h3 class="tsd-anchor-link" id="media_icon_class"><span>media_<wbr/>icon_<wbr/>class</span><a href="#media_icon_class" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
225
|
+
<div class="tsd-signature"><span class="tsd-kind-property">media_icon_class</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div><aside class="tsd-sources">
|
|
226
|
+
<p>Inherited from MapMarker.media_icon_class</p>
|
|
227
|
+
<ul>
|
|
228
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L35">src/map/MapMarker.ts:35</a></li></ul></aside></section>
|
|
229
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
230
|
+
<h3 class="tsd-anchor-link" id="options"><span>options</span><a href="#options" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
231
|
+
<div class="tsd-signature"><span class="tsd-kind-property">options</span><span class="tsd-signature-symbol">:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a></div><aside class="tsd-sources">
|
|
232
|
+
<p>Inherited from MapMarker.options</p>
|
|
233
|
+
<ul>
|
|
234
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L38">src/map/MapMarker.ts:38</a></li></ul></aside></section>
|
|
235
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
236
|
+
<h3 class="tsd-anchor-link" id="timer"><span>timer</span><a href="#timer" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
237
|
+
<div class="tsd-signature"><span class="tsd-kind-property">timer</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Timeout</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></div><aside class="tsd-sources">
|
|
238
|
+
<p>Inherited from MapMarker.timer</p>
|
|
239
|
+
<ul>
|
|
240
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L36">src/map/MapMarker.ts:36</a></li></ul></aside></section></section></details>
|
|
241
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
242
|
+
<h2 class="tsd-anchor-link" id="accessors-1">Accessors<a href="#accessors-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
243
|
+
<section>
|
|
244
|
+
<section class="tsd-panel tsd-member">
|
|
245
|
+
<h3 class="tsd-anchor-link" id="popupopen"><span>popup<wbr/>Open</span><a href="#popupopen" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
246
|
+
<ul class="tsd-signatures">
|
|
247
|
+
<li>
|
|
248
|
+
<div class="tsd-signature" id="popupopenpopupopen"><span class="tsd-signature-keyword">get</span> <span class="tsd-kind-get-signature">popupOpen</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
|
|
249
|
+
<div class="tsd-description">
|
|
250
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
251
|
+
<ul>
|
|
252
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L312">src/map/openlayers/MapMarker.OpenLayers.ts:312</a></li></ul></aside></div></li></ul></section></section></details>
|
|
253
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
254
|
+
<h2 class="tsd-anchor-link" id="methods-1">Methods<a href="#methods-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2></summary>
|
|
255
|
+
<section>
|
|
256
|
+
<section class="tsd-panel tsd-member">
|
|
257
|
+
<h3 class="tsd-anchor-link" id="_active"><span>_<wbr/>active</span><a href="#_active" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
258
|
+
<ul class="tsd-signatures">
|
|
259
|
+
<li class="">
|
|
260
|
+
<div class="tsd-signature tsd-anchor-link" id="_active-1"><span class="tsd-kind-call-signature">_active</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_active-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
261
|
+
<div class="tsd-description">
|
|
262
|
+
<div class="tsd-parameters">
|
|
263
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
264
|
+
<ul class="tsd-parameter-list">
|
|
265
|
+
<li><span><span class="tsd-kind-parameter">a</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
266
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
267
|
+
<p>Overrides MapMarker._active</p>
|
|
268
|
+
<ul>
|
|
269
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L425">src/map/openlayers/MapMarker.OpenLayers.ts:425</a></li></ul></aside></div></li></ul></section>
|
|
270
|
+
<section class="tsd-panel tsd-member">
|
|
271
|
+
<h3 class="tsd-anchor-link" id="_addto"><span>_<wbr/>add<wbr/>To</span><a href="#_addto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
272
|
+
<ul class="tsd-signatures">
|
|
273
|
+
<li class="">
|
|
274
|
+
<div class="tsd-signature tsd-anchor-link" id="_addto-1"><span class="tsd-kind-call-signature">_addTo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <a href="OlMap.html" class="tsd-signature-type tsd-kind-interface">OlMap</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_addto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
275
|
+
<div class="tsd-description">
|
|
276
|
+
<div class="tsd-parameters">
|
|
277
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
278
|
+
<ul class="tsd-parameter-list">
|
|
279
|
+
<li><span><span class="tsd-kind-parameter">m</span>: <a href="OlMap.html" class="tsd-signature-type tsd-kind-interface">OlMap</a></span></li></ul></div>
|
|
280
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
281
|
+
<p>Overrides MapMarker._addTo</p>
|
|
282
|
+
<ul>
|
|
283
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L196">src/map/openlayers/MapMarker.OpenLayers.ts:196</a></li></ul></aside></div></li></ul></section>
|
|
284
|
+
<section class="tsd-panel tsd-member">
|
|
285
|
+
<h3 class="tsd-anchor-link" id="_closepopup"><span>_<wbr/>close<wbr/>Popup</span><a href="#_closepopup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
286
|
+
<ul class="tsd-signatures">
|
|
287
|
+
<li class="">
|
|
288
|
+
<div class="tsd-signature tsd-anchor-link" id="_closepopup-1"><span class="tsd-kind-call-signature">_closePopup</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_closepopup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
289
|
+
<div class="tsd-description">
|
|
290
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
291
|
+
<ul>
|
|
292
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L250">src/map/openlayers/MapMarker.OpenLayers.ts:250</a></li></ul></aside></div></li></ul></section>
|
|
293
|
+
<section class="tsd-panel tsd-member">
|
|
294
|
+
<h3 class="tsd-anchor-link" id="_createmarker"><span>_<wbr/>create<wbr/>Marker</span><a href="#_createmarker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
295
|
+
<ul class="tsd-signatures">
|
|
296
|
+
<li class="">
|
|
297
|
+
<div class="tsd-signature tsd-anchor-link" id="_createmarker-1"><span class="tsd-kind-call-signature">_createMarker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_createmarker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
298
|
+
<div class="tsd-description">
|
|
299
|
+
<div class="tsd-parameters">
|
|
300
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
301
|
+
<ul class="tsd-parameter-list">
|
|
302
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">d</span>: <span class="tsd-signature-type">MapMarkerData</span></span></li>
|
|
303
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">o</span>: <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a></span></li></ul></div>
|
|
304
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
305
|
+
<p>Overrides MapMarker._createMarker</p>
|
|
306
|
+
<ul>
|
|
307
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L77">src/map/openlayers/MapMarker.OpenLayers.ts:77</a></li></ul></aside></div></li></ul></section>
|
|
308
|
+
<section class="tsd-panel tsd-member">
|
|
309
|
+
<h3 class="tsd-anchor-link" id="_createmarkerelement"><span>_<wbr/>create<wbr/>Marker<wbr/>Element</span><a href="#_createmarkerelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
310
|
+
<ul class="tsd-signatures">
|
|
311
|
+
<li class="">
|
|
312
|
+
<div class="tsd-signature tsd-anchor-link" id="_createmarkerelement-1"><span class="tsd-kind-call-signature">_createMarkerElement</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLDivElement</span><a href="#_createmarkerelement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
313
|
+
<div class="tsd-description">
|
|
314
|
+
<div class="tsd-parameters">
|
|
315
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
316
|
+
<ul class="tsd-parameter-list">
|
|
317
|
+
<li><span><span class="tsd-kind-parameter">d</span>: <span class="tsd-signature-type">MapMarkerData</span></span></li>
|
|
318
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">o</span>: <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a></span></li></ul></div>
|
|
319
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLDivElement</span></h4><aside class="tsd-sources">
|
|
320
|
+
<ul>
|
|
321
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L145">src/map/openlayers/MapMarker.OpenLayers.ts:145</a></li></ul></aside></div></li></ul></section>
|
|
322
|
+
<section class="tsd-panel tsd-member">
|
|
323
|
+
<h3 class="tsd-anchor-link" id="_createpopupelement"><span>_<wbr/>create<wbr/>Popup<wbr/>Element</span><a href="#_createpopupelement" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
324
|
+
<ul class="tsd-signatures">
|
|
325
|
+
<li class="">
|
|
326
|
+
<div class="tsd-signature tsd-anchor-link" id="_createpopupelement-1"><span class="tsd-kind-call-signature">_createPopupElement</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">HTMLElement</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><a href="#_createpopupelement-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
327
|
+
<div class="tsd-description">
|
|
328
|
+
<div class="tsd-comment tsd-typography"><p>Headline, a sanitized excerpt, the media thumb and an audio control.
|
|
329
|
+
Every piece of text goes through <code>sanitizeSlideText</code> — a slide's text
|
|
330
|
+
is untrusted input and a marker card is no different (the stored-XSS
|
|
331
|
+
audit made that lesson once; a label is attacker-controlled text like
|
|
332
|
+
any other).</p>
|
|
333
|
+
</div>
|
|
334
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">HTMLElement</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></h4><aside class="tsd-sources">
|
|
335
|
+
<ul>
|
|
336
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L323">src/map/openlayers/MapMarker.OpenLayers.ts:323</a></li></ul></aside></div></li></ul></section>
|
|
337
|
+
<section class="tsd-panel tsd-member">
|
|
338
|
+
<h3 class="tsd-anchor-link" id="_customiconanchor"><span>_<wbr/>custom<wbr/>Icon<wbr/>Anchor</span><a href="#_customiconanchor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
339
|
+
<ul class="tsd-signatures">
|
|
340
|
+
<li class="">
|
|
341
|
+
<div class="tsd-signature tsd-anchor-link" id="_customiconanchor-1"><span class="tsd-kind-call-signature">_customIconAnchor</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">size</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span><a href="#_customiconanchor-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
342
|
+
<div class="tsd-description">
|
|
343
|
+
<div class="tsd-parameters">
|
|
344
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
345
|
+
<ul class="tsd-parameter-list">
|
|
346
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">size</span>: <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></span></li></ul></div>
|
|
347
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
|
|
348
|
+
<ul>
|
|
349
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L489">src/map/openlayers/MapMarker.OpenLayers.ts:489</a></li></ul></aside></div></li></ul></section>
|
|
350
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
351
|
+
<h3 class="tsd-anchor-link" id="_initlayout"><span>_<wbr/>init<wbr/>Layout</span><a href="#_initlayout" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
352
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
353
|
+
<li class="tsd-is-inherited">
|
|
354
|
+
<div class="tsd-signature tsd-anchor-link" id="_initlayout-1"><span class="tsd-kind-call-signature">_initLayout</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_initlayout-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
355
|
+
<div class="tsd-description">
|
|
356
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
357
|
+
<p>Inherited from MapMarker._initLayout</p>
|
|
358
|
+
<ul>
|
|
359
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L169">src/map/MapMarker.ts:169</a></li></ul></aside></div></li></ul></section>
|
|
360
|
+
<section class="tsd-panel tsd-member">
|
|
361
|
+
<h3 class="tsd-anchor-link" id="_location"><span>_<wbr/>location</span><a href="#_location" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
362
|
+
<ul class="tsd-signatures">
|
|
363
|
+
<li class="">
|
|
364
|
+
<div class="tsd-signature tsd-anchor-link" id="_location-1"><span class="tsd-kind-call-signature">_location</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><a href="#_location-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
365
|
+
<div class="tsd-description">
|
|
366
|
+
<div class="tsd-comment tsd-typography"><p>The marker's coordinate, or null when it has none (an overview slide, or
|
|
367
|
+
a slide carrying only an image region). Every caller treats null as
|
|
368
|
+
"nothing to focus", so this is the honest shape — the previous
|
|
369
|
+
<code>{ lat: 0, lng: 0 }</code> was a real point at Null Island, spelled with a
|
|
370
|
+
longitude key nothing in the map read.</p>
|
|
371
|
+
</div>
|
|
372
|
+
<h4 class="tsd-returns-title">Returns <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></h4><aside class="tsd-sources">
|
|
373
|
+
<p>Overrides MapMarker._location</p>
|
|
374
|
+
<ul>
|
|
375
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L497">src/map/openlayers/MapMarker.OpenLayers.ts:497</a></li></ul></aside></div></li></ul></section>
|
|
376
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
377
|
+
<h3 class="tsd-anchor-link" id="_onmarkerclick"><span>_<wbr/>on<wbr/>Marker<wbr/>Click</span><a href="#_onmarkerclick" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
378
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
379
|
+
<li class="tsd-is-inherited">
|
|
380
|
+
<div class="tsd-signature tsd-anchor-link" id="_onmarkerclick-1"><span class="tsd-kind-call-signature">_onMarkerClick</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_onmarkerclick-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
381
|
+
<div class="tsd-description">
|
|
382
|
+
<div class="tsd-parameters">
|
|
383
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
384
|
+
<ul class="tsd-parameter-list">
|
|
385
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">e</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
|
|
386
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
387
|
+
<p>Inherited from MapMarker._onMarkerClick</p>
|
|
388
|
+
<ul>
|
|
389
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L163">src/map/MapMarker.ts:163</a></li></ul></aside></div></li></ul></section>
|
|
390
|
+
<section class="tsd-panel tsd-member">
|
|
391
|
+
<h3 class="tsd-anchor-link" id="_presentation"><span>_<wbr/>presentation</span><a href="#_presentation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
392
|
+
<ul class="tsd-signatures">
|
|
393
|
+
<li class="">
|
|
394
|
+
<div class="tsd-signature tsd-anchor-link" id="_presentation-1"><span class="tsd-kind-call-signature">_presentation</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">MarkerPresentation</span><a href="#_presentation-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
395
|
+
<div class="tsd-description">
|
|
396
|
+
<div class="tsd-comment tsd-typography"><p>The merged marker presentation: <code>marker.*</code> wins, <code>location.*</code> is the
|
|
397
|
+
legacy spelling and still works.
|
|
398
|
+
<code>location</code> also stays the carrier of geography, so lat/lon are read
|
|
399
|
+
from it alone — presentation never moves a marker.</p>
|
|
400
|
+
</div>
|
|
401
|
+
<div class="tsd-parameters">
|
|
402
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
403
|
+
<ul class="tsd-parameter-list">
|
|
404
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">d</span>: <span class="tsd-signature-type">MapMarkerData</span></span></li></ul></div>
|
|
405
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">MarkerPresentation</span></h4><aside class="tsd-sources">
|
|
406
|
+
<ul>
|
|
407
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L60">src/map/openlayers/MapMarker.OpenLayers.ts:60</a></li></ul></aside></div></li></ul></section>
|
|
408
|
+
<section class="tsd-panel tsd-member">
|
|
409
|
+
<h3 class="tsd-anchor-link" id="_removefrom"><span>_<wbr/>remove<wbr/>From</span><a href="#_removefrom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
410
|
+
<ul class="tsd-signatures">
|
|
411
|
+
<li class="">
|
|
412
|
+
<div class="tsd-signature tsd-anchor-link" id="_removefrom-1"><span class="tsd-kind-call-signature">_removeFrom</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <a href="OlMap.html" class="tsd-signature-type tsd-kind-interface">OlMap</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_removefrom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
413
|
+
<div class="tsd-description">
|
|
414
|
+
<div class="tsd-parameters">
|
|
415
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
416
|
+
<ul class="tsd-parameter-list">
|
|
417
|
+
<li><span><span class="tsd-kind-parameter">m</span>: <a href="OlMap.html" class="tsd-signature-type tsd-kind-interface">OlMap</a></span></li></ul></div>
|
|
418
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
419
|
+
<p>Overrides MapMarker._removeFrom</p>
|
|
420
|
+
<ul>
|
|
421
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L222">src/map/openlayers/MapMarker.OpenLayers.ts:222</a></li></ul></aside></div></li></ul></section>
|
|
422
|
+
<section class="tsd-panel tsd-member">
|
|
423
|
+
<h3 class="tsd-anchor-link" id="_togglepopup"><span>_<wbr/>toggle<wbr/>Popup</span><a href="#_togglepopup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
424
|
+
<ul class="tsd-signatures">
|
|
425
|
+
<li class="">
|
|
426
|
+
<div class="tsd-signature tsd-anchor-link" id="_togglepopup-1"><span class="tsd-kind-call-signature">_togglePopup</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_togglepopup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
427
|
+
<div class="tsd-description">
|
|
428
|
+
<div class="tsd-comment tsd-typography"><p>Toggle the popup card for the <em>active</em> marker. Inactive markers keep
|
|
429
|
+
their original behaviour — a click navigates — so a popup never
|
|
430
|
+
swallows navigation on a map full of pins.</p>
|
|
431
|
+
<p>The card is a DOM element parented to the marker element and positioned
|
|
432
|
+
with CSS, which is how it survives a move to the vector renderer
|
|
433
|
+
(docs/plans/issue-159-vector-markers.md): only the anchor is the
|
|
434
|
+
marker's, and that is <code>latLon()</code>.</p>
|
|
435
|
+
</div>
|
|
436
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
437
|
+
<ul>
|
|
438
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L246">src/map/openlayers/MapMarker.OpenLayers.ts:246</a></li></ul></aside></div></li></ul></section>
|
|
439
|
+
<section class="tsd-panel tsd-member">
|
|
440
|
+
<h3 class="tsd-anchor-link" id="_updateaudiobadge"><span>_<wbr/>update<wbr/>Audio<wbr/>Badge</span><a href="#_updateaudiobadge" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
441
|
+
<ul class="tsd-signatures">
|
|
442
|
+
<li class="">
|
|
443
|
+
<div class="tsd-signature tsd-anchor-link" id="_updateaudiobadge-1"><span class="tsd-kind-call-signature">_updateAudioBadge</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_updateaudiobadge-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
444
|
+
<div class="tsd-description">
|
|
445
|
+
<div class="tsd-comment tsd-typography"><p>A small indicator on markers whose slide has narration or audio media
|
|
446
|
+
(the Micrio affordance). Recomputed on activation, because a slide's
|
|
447
|
+
media may only be known once it is resolved.</p>
|
|
448
|
+
</div>
|
|
449
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
450
|
+
<ul>
|
|
451
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L380">src/map/openlayers/MapMarker.OpenLayers.ts:380</a></li></ul></aside></div></li></ul></section>
|
|
452
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
453
|
+
<h3 class="tsd-anchor-link" id="_updatedisplay"><span>_<wbr/>update<wbr/>Display</span><a href="#_updatedisplay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
454
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
455
|
+
<li class="tsd-is-inherited">
|
|
456
|
+
<div class="tsd-signature tsd-anchor-link" id="_updatedisplay-1"><span class="tsd-kind-call-signature">_updateDisplay</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">width</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">height</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">animate</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#_updatedisplay-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
457
|
+
<div class="tsd-description">
|
|
458
|
+
<div class="tsd-parameters">
|
|
459
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
460
|
+
<ul class="tsd-parameter-list">
|
|
461
|
+
<li><span><span class="tsd-kind-parameter">width</span>: <span class="tsd-signature-type">number</span></span></li>
|
|
462
|
+
<li><span><span class="tsd-kind-parameter">height</span>: <span class="tsd-signature-type">number</span></span></li>
|
|
463
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">animate</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
464
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
465
|
+
<p>Inherited from MapMarker._updateDisplay</p>
|
|
466
|
+
<ul>
|
|
467
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L174">src/map/MapMarker.ts:174</a></li></ul></aside></div></li></ul></section>
|
|
468
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
469
|
+
<h3 class="tsd-anchor-link" id="active"><span>active</span><a href="#active" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
470
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
471
|
+
<li class="tsd-is-inherited">
|
|
472
|
+
<div class="tsd-signature tsd-anchor-link" id="active-1"><span class="tsd-kind-call-signature">active</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#active-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
473
|
+
<div class="tsd-description">
|
|
474
|
+
<div class="tsd-parameters">
|
|
475
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
476
|
+
<ul class="tsd-parameter-list">
|
|
477
|
+
<li><span><span class="tsd-kind-parameter">a</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
478
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
479
|
+
<p>Inherited from MapMarker.active</p>
|
|
480
|
+
<ul>
|
|
481
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L131">src/map/MapMarker.ts:131</a></li></ul></aside></div></li></ul></section>
|
|
482
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
483
|
+
<h3 class="tsd-anchor-link" id="addto"><span>add<wbr/>To</span><a href="#addto" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
484
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
485
|
+
<li class="tsd-is-inherited">
|
|
486
|
+
<div class="tsd-signature tsd-anchor-link" id="addto-1"><span class="tsd-kind-call-signature">addTo</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#addto-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
487
|
+
<div class="tsd-description">
|
|
488
|
+
<div class="tsd-parameters">
|
|
489
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
490
|
+
<ul class="tsd-parameter-list">
|
|
491
|
+
<li><span><span class="tsd-kind-parameter">m</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
|
|
492
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
493
|
+
<p>Inherited from MapMarker.addTo</p>
|
|
494
|
+
<ul>
|
|
495
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L115">src/map/MapMarker.ts:115</a></li></ul></aside></div></li></ul></section>
|
|
496
|
+
<section class="tsd-panel tsd-member">
|
|
497
|
+
<h3 class="tsd-anchor-link" id="closepopup"><span>close<wbr/>Popup</span><a href="#closepopup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
498
|
+
<ul class="tsd-signatures">
|
|
499
|
+
<li class="">
|
|
500
|
+
<div class="tsd-signature tsd-anchor-link" id="closepopup-1"><span class="tsd-kind-call-signature">closePopup</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#closepopup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
501
|
+
<div class="tsd-description">
|
|
502
|
+
<div class="tsd-comment tsd-typography"><p>Close the popup card if it is open. Fires <code>popupclose</code>. Also runs on
|
|
503
|
+
Escape, the card's close button, deactivation and <code>dispose()</code>.</p>
|
|
504
|
+
</div>
|
|
505
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
506
|
+
<ul>
|
|
507
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L286">src/map/openlayers/MapMarker.OpenLayers.ts:286</a></li></ul></aside></div></li></ul></section>
|
|
508
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
509
|
+
<h3 class="tsd-anchor-link" id="createmarker"><span>create<wbr/>Marker</span><a href="#createmarker" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
510
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
511
|
+
<li class="tsd-is-inherited">
|
|
512
|
+
<div class="tsd-signature tsd-anchor-link" id="createmarker-1"><span class="tsd-kind-call-signature">createMarker</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#createmarker-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
513
|
+
<div class="tsd-description">
|
|
514
|
+
<div class="tsd-parameters">
|
|
515
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
516
|
+
<ul class="tsd-parameter-list">
|
|
517
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">d</span>: <span class="tsd-signature-type">MapMarkerData</span></span></li>
|
|
518
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">o</span>: <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a></span></li></ul></div>
|
|
519
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
520
|
+
<p>Inherited from MapMarker.createMarker</p>
|
|
521
|
+
<ul>
|
|
522
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L127">src/map/MapMarker.ts:127</a></li></ul></aside></div></li></ul></section>
|
|
523
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
524
|
+
<h3 class="tsd-anchor-link" id="createpopup"><span class="deprecated">create<wbr/>Popup</span><a href="#createpopup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
525
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
526
|
+
<li class="tsd-is-inherited">
|
|
527
|
+
<div class="tsd-signature tsd-anchor-link" id="createpopup-1"><span class="tsd-kind-call-signature">createPopup</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_d</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">MapMarkerData</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">_o</span><span class="tsd-signature-symbol">?:</span> <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#createpopup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
528
|
+
<div class="tsd-description">
|
|
529
|
+
<div class="tsd-parameters">
|
|
530
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
531
|
+
<ul class="tsd-parameter-list">
|
|
532
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">_d</span>: <span class="tsd-signature-type">MapMarkerData</span></span></li>
|
|
533
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">_o</span>: <a href="StorymapOptions.html" class="tsd-signature-type tsd-kind-interface">StorymapOptions</a></span></li></ul></div>
|
|
534
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
535
|
+
<div class="tsd-comment tsd-typography">
|
|
536
|
+
<div class="tsd-tag-deprecated">
|
|
537
|
+
<h4 class="tsd-anchor-link" id="deprecated">Deprecated<a href="#deprecated" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Never implemented, in the original viewer either: the base
|
|
538
|
+
<code>MapMarker._createPopup</code> had an empty body and the Leaflet override's
|
|
539
|
+
body was commented out, so the <code>map_popup</code> option that called it never
|
|
540
|
+
had any effect. Kept as a no-op so pre-0.10 code that calls it keeps
|
|
541
|
+
working. Render the slide text yourself, or use CSS on
|
|
542
|
+
<code>.vco-mapmarker</code> to show a label.</p>
|
|
543
|
+
</div></div><aside class="tsd-sources">
|
|
544
|
+
<p>Inherited from MapMarker.createPopup</p>
|
|
545
|
+
<ul>
|
|
546
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L113">src/map/MapMarker.ts:113</a></li></ul></aside></div></li></ul></section>
|
|
547
|
+
<section class="tsd-panel tsd-member">
|
|
548
|
+
<h3 class="tsd-anchor-link" id="dispose"><span>dispose</span><a href="#dispose" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
549
|
+
<ul class="tsd-signatures">
|
|
550
|
+
<li class="">
|
|
551
|
+
<div class="tsd-signature tsd-anchor-link" id="dispose-1"><span class="tsd-kind-call-signature">dispose</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#dispose-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
552
|
+
<div class="tsd-description">
|
|
553
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
554
|
+
<ul>
|
|
555
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L401">src/map/openlayers/MapMarker.OpenLayers.ts:401</a></li></ul></aside></div></li></ul></section>
|
|
556
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
557
|
+
<h3 class="tsd-anchor-link" id="haseventlisteners"><span>has<wbr/>Event<wbr/>Listeners</span><a href="#haseventlisteners" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
558
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
559
|
+
<li class="tsd-is-inherited">
|
|
560
|
+
<div class="tsd-signature tsd-anchor-link" id="haseventlisteners-1"><span class="tsd-kind-call-signature">hasEventListeners</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#haseventlistenersk">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#haseventlistenersk">K</a><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#haseventlisteners-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
561
|
+
<div class="tsd-description">
|
|
562
|
+
<section class="tsd-panel">
|
|
563
|
+
<h4>Type Parameters</h4>
|
|
564
|
+
<ul class="tsd-type-parameter-list">
|
|
565
|
+
<li><span id="haseventlistenersk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span></span></li></ul></section>
|
|
566
|
+
<div class="tsd-parameters">
|
|
567
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
568
|
+
<ul class="tsd-parameter-list">
|
|
569
|
+
<li><span><span class="tsd-kind-parameter">type</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#haseventlistenersk">K</a></span></li></ul></div>
|
|
570
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
571
|
+
<p>Inherited from MapMarker.hasEventListeners</p>
|
|
572
|
+
<ul>
|
|
573
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/core/mixins.ts#L33">src/core/mixins.ts:33</a></li></ul></aside></div></li></ul></section>
|
|
574
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
575
|
+
<h3 class="tsd-anchor-link" id="hide"><span class="deprecated">hide</span><a href="#hide" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
576
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
577
|
+
<li class="tsd-is-inherited">
|
|
578
|
+
<div class="tsd-signature tsd-anchor-link" id="hide-1"><span class="tsd-kind-call-signature">hide</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#hide-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
579
|
+
<div class="tsd-description">
|
|
580
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
581
|
+
<div class="tsd-comment tsd-typography">
|
|
582
|
+
<div class="tsd-tag-deprecated">
|
|
583
|
+
<h4 class="tsd-anchor-link" id="deprecated-1">Deprecated<a href="#deprecated-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>See <a href="#show" class="tsd-kind-method">show</a> — no-op since 0.9.x upstream.</p>
|
|
584
|
+
</div></div><aside class="tsd-sources">
|
|
585
|
+
<p>Inherited from MapMarker.hide</p>
|
|
586
|
+
<ul>
|
|
587
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L103">src/map/MapMarker.ts:103</a></li></ul></aside></div></li></ul></section>
|
|
588
|
+
<section class="tsd-panel tsd-member">
|
|
589
|
+
<h3 class="tsd-anchor-link" id="ispopupenabled"><span>is<wbr/>Popup<wbr/>Enabled</span><a href="#ispopupenabled" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
590
|
+
<ul class="tsd-signatures">
|
|
591
|
+
<li class="">
|
|
592
|
+
<div class="tsd-signature tsd-anchor-link" id="ispopupenabled-1"><span class="tsd-kind-call-signature">isPopupEnabled</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#ispopupenabled-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
593
|
+
<div class="tsd-description">
|
|
594
|
+
<div class="tsd-comment tsd-typography"><p>True when this marker is configured to show a popup card.</p>
|
|
595
|
+
</div>
|
|
596
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
597
|
+
<ul>
|
|
598
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L255">src/map/openlayers/MapMarker.OpenLayers.ts:255</a></li></ul></aside></div></li></ul></section>
|
|
599
|
+
<section class="tsd-panel tsd-member">
|
|
600
|
+
<h3 class="tsd-anchor-link" id="latlon"><span>lat<wbr/>Lon</span><a href="#latlon" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
601
|
+
<ul class="tsd-signatures">
|
|
602
|
+
<li class="">
|
|
603
|
+
<div class="tsd-signature tsd-anchor-link" id="latlon-1"><span class="tsd-kind-call-signature">latLon</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><a href="#latlon-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
604
|
+
<div class="tsd-description">
|
|
605
|
+
<div class="tsd-comment tsd-typography"><p>The marker's {lat, lon}, or null when it is a non-georeferenced marker
|
|
606
|
+
(an overview slide, or a slide with only an image region). <code>_createMarker</code>
|
|
607
|
+
already established this for a real marker, but returning it from one
|
|
608
|
+
place means the type checker can see it too.</p>
|
|
609
|
+
</div>
|
|
610
|
+
<h4 class="tsd-returns-title">Returns <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></h4><aside class="tsd-sources">
|
|
611
|
+
<ul>
|
|
612
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L185">src/map/openlayers/MapMarker.OpenLayers.ts:185</a></li></ul></aside></div></li></ul></section>
|
|
613
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
614
|
+
<h3 class="tsd-anchor-link" id="location"><span>location</span><a href="#location" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
615
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
616
|
+
<li class="tsd-is-inherited">
|
|
617
|
+
<div class="tsd-signature tsd-anchor-link" id="location-1"><span class="tsd-kind-call-signature">location</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span><a href="#location-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
618
|
+
<div class="tsd-description">
|
|
619
|
+
<h4 class="tsd-returns-title">Returns <a href="LatLngLiteral.html" class="tsd-signature-type tsd-kind-interface">LatLngLiteral</a> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">null</span></h4><aside class="tsd-sources">
|
|
620
|
+
<p>Inherited from MapMarker.location</p>
|
|
621
|
+
<ul>
|
|
622
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L135">src/map/MapMarker.ts:135</a></li></ul></aside></div></li></ul></section>
|
|
623
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
624
|
+
<h3 class="tsd-anchor-link" id="off"><span>off</span><a href="#off" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
625
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
626
|
+
<li class="tsd-is-inherited">
|
|
627
|
+
<div class="tsd-signature tsd-anchor-link" id="off-1"><span class="tsd-kind-call-signature">off</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#offk">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#offk">K</a><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <a href="../types/FiredEvent.html" class="tsd-signature-type tsd-kind-type-alias">FiredEvent</a><span class="tsd-signature-symbol"><</span><a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#offk">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">this</span><a href="#off-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
628
|
+
<div class="tsd-description">
|
|
629
|
+
<section class="tsd-panel">
|
|
630
|
+
<h4>Type Parameters</h4>
|
|
631
|
+
<ul class="tsd-type-parameter-list">
|
|
632
|
+
<li><span id="offk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span></span></li></ul></section>
|
|
633
|
+
<div class="tsd-parameters">
|
|
634
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
635
|
+
<ul class="tsd-parameter-list">
|
|
636
|
+
<li><span><span class="tsd-kind-parameter">type</span>: <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#offk">K</a></span></li>
|
|
637
|
+
<li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <a href="../types/FiredEvent.html" class="tsd-signature-type tsd-kind-type-alias">FiredEvent</a><span class="tsd-signature-symbol"><</span><a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">,</span> <a class="tsd-signature-type tsd-kind-type-parameter" href="../classes/StoryMap.html#offk">K</a><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span></li>
|
|
638
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
|
|
639
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><aside class="tsd-sources">
|
|
640
|
+
<p>Inherited from MapMarker.off</p>
|
|
641
|
+
<ul>
|
|
642
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/core/mixins.ts#L27">src/core/mixins.ts:27</a></li></ul></aside></div></li></ul></section>
|
|
643
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
644
|
+
<h3 class="tsd-anchor-link" id="on"><span>on</span><a href="#on" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
645
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
646
|
+
<li class="tsd-is-inherited">
|
|
647
|
+
<div class="tsd-signature tsd-anchor-link" id="on-1"><span class="tsd-kind-call-signature">on</span><span class="tsd-signature-symbol"><</span><a class="tsd-signature-type tsd-kind-type-parameter" href="#onk">K</a> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">(</span><br/> <span class="tsd-kind-parameter">type</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <a href="../types/FiredEvent.html" class="tsd-signature-type tsd-kind-type-alias">FiredEvent</a><span class="tsd-signature-symbol"><</span><a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">,</span><br/> <span class="tsd-kind-parameter">context</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">,</span><br/><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">this</span><a href="#on-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
648
|
+
<div class="tsd-description">
|
|
649
|
+
<section class="tsd-panel">
|
|
650
|
+
<h4>Type Parameters</h4>
|
|
651
|
+
<ul class="tsd-type-parameter-list">
|
|
652
|
+
<li><span id="onk"><span class="tsd-kind-type-parameter">K</span> <span class="tsd-signature-keyword">extends</span> <span class="tsd-signature-type">"markerclick"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupopen"</span> <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">"popupclose"</span></span></li></ul></section>
|
|
653
|
+
<div class="tsd-parameters">
|
|
654
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
655
|
+
<ul class="tsd-parameter-list">
|
|
656
|
+
<li><span><span class="tsd-kind-parameter">type</span>: <span class="tsd-signature-type tsd-kind-type-parameter">K</span></span></li>
|
|
657
|
+
<li><span><span class="tsd-kind-parameter">fn</span>: <span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">e</span><span class="tsd-signature-symbol">:</span> <a href="../types/FiredEvent.html" class="tsd-signature-type tsd-kind-type-alias">FiredEvent</a><span class="tsd-signature-symbol"><</span><a href="MapMarkerEvents.html" class="tsd-signature-type tsd-kind-interface">MapMarkerEvents</a><span class="tsd-signature-symbol">,</span> <span class="tsd-signature-type tsd-kind-type-parameter">K</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">)</span> <span class="tsd-signature-symbol">=></span> <span class="tsd-signature-type">void</span></span></li>
|
|
658
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">context</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
|
|
659
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">this</span></h4><aside class="tsd-sources">
|
|
660
|
+
<p>Inherited from MapMarker.on</p>
|
|
661
|
+
<ul>
|
|
662
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/core/mixins.ts#L22">src/core/mixins.ts:22</a></li></ul></aside></div></li></ul></section>
|
|
663
|
+
<section class="tsd-panel tsd-member">
|
|
664
|
+
<h3 class="tsd-anchor-link" id="openpopup"><span>open<wbr/>Popup</span><a href="#openpopup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
665
|
+
<ul class="tsd-signatures">
|
|
666
|
+
<li class="">
|
|
667
|
+
<div class="tsd-signature tsd-anchor-link" id="openpopup-1"><span class="tsd-kind-call-signature">openPopup</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#openpopup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
668
|
+
<div class="tsd-description">
|
|
669
|
+
<div class="tsd-comment tsd-typography"><p>Open the popup card for this marker.</p>
|
|
670
|
+
<p>Returns false (and opens nothing) when popups are disabled for the
|
|
671
|
+
marker or it is not a real map marker — e.g. an overview slide. A
|
|
672
|
+
click on an inactive marker navigates instead of opening (see the
|
|
673
|
+
click handler in <code>_createMarker</code>); programmatic callers that want the
|
|
674
|
+
card on another stop should navigate first (<code>StoryMap.openMarkerPopup</code>
|
|
675
|
+
does exactly that). Fires <code>popupopen</code> on success.</p>
|
|
676
|
+
</div>
|
|
677
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
678
|
+
<ul>
|
|
679
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L269">src/map/openlayers/MapMarker.OpenLayers.ts:269</a></li></ul></aside></div></li></ul></section>
|
|
680
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
681
|
+
<h3 class="tsd-anchor-link" id="removefrom"><span>remove<wbr/>From</span><a href="#removefrom" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
682
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
683
|
+
<li class="tsd-is-inherited">
|
|
684
|
+
<div class="tsd-signature tsd-anchor-link" id="removefrom-1"><span class="tsd-kind-call-signature">removeFrom</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#removefrom-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
685
|
+
<div class="tsd-description">
|
|
686
|
+
<div class="tsd-parameters">
|
|
687
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
688
|
+
<ul class="tsd-parameter-list">
|
|
689
|
+
<li><span><span class="tsd-kind-parameter">m</span>: <span class="tsd-signature-type">unknown</span></span></li></ul></div>
|
|
690
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
691
|
+
<p>Inherited from MapMarker.removeFrom</p>
|
|
692
|
+
<ul>
|
|
693
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L119">src/map/MapMarker.ts:119</a></li></ul></aside></div></li></ul></section>
|
|
694
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
695
|
+
<h3 class="tsd-anchor-link" id="show"><span class="deprecated">show</span><a href="#show" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
696
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
697
|
+
<li class="tsd-is-inherited">
|
|
698
|
+
<div class="tsd-signature tsd-anchor-link" id="show-1"><span class="tsd-kind-call-signature">show</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#show-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
699
|
+
<div class="tsd-description">
|
|
700
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
701
|
+
<div class="tsd-comment tsd-typography">
|
|
702
|
+
<div class="tsd-tag-deprecated">
|
|
703
|
+
<h4 class="tsd-anchor-link" id="deprecated-2">Deprecated<a href="#deprecated-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>No-op since 0.9.x upstream (the original marker defined an
|
|
704
|
+
empty body too). Markers are never individually hidden; use CSS on
|
|
705
|
+
<code>.vco-mapmarker</code>, or <code>active(false)</code> to dim one.</p>
|
|
706
|
+
</div></div><aside class="tsd-sources">
|
|
707
|
+
<p>Inherited from MapMarker.show</p>
|
|
708
|
+
<ul>
|
|
709
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L100">src/map/MapMarker.ts:100</a></li></ul></aside></div></li></ul></section>
|
|
710
|
+
<section class="tsd-panel tsd-member">
|
|
711
|
+
<h3 class="tsd-anchor-link" id="togglepopup"><span>toggle<wbr/>Popup</span><a href="#togglepopup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
712
|
+
<ul class="tsd-signatures">
|
|
713
|
+
<li class="">
|
|
714
|
+
<div class="tsd-signature tsd-anchor-link" id="togglepopup-1"><span class="tsd-kind-call-signature">togglePopup</span><span class="tsd-signature-symbol">()</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span><a href="#togglepopup-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
715
|
+
<div class="tsd-description">
|
|
716
|
+
<div class="tsd-comment tsd-typography"><p>Open the card when closed, close it when open. Returns whether the
|
|
717
|
+
card is open afterwards (false when popups are disabled).</p>
|
|
718
|
+
</div>
|
|
719
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
|
|
720
|
+
<ul>
|
|
721
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/openlayers/MapMarker.OpenLayers.ts#L304">src/map/openlayers/MapMarker.OpenLayers.ts:304</a></li></ul></aside></div></li></ul></section>
|
|
722
|
+
<section class="tsd-panel tsd-member tsd-is-inherited">
|
|
723
|
+
<h3 class="tsd-anchor-link" id="updatedisplay"><span>update<wbr/>Display</span><a href="#updatedisplay" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
724
|
+
<ul class="tsd-signatures tsd-is-inherited">
|
|
725
|
+
<li class="tsd-is-inherited">
|
|
726
|
+
<div class="tsd-signature tsd-anchor-link" id="updatedisplay-1"><span class="tsd-kind-call-signature">updateDisplay</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">w</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">h</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">,</span> <span class="tsd-kind-parameter">a</span><span class="tsd-signature-symbol">?:</span> <span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#updatedisplay-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
727
|
+
<div class="tsd-description">
|
|
728
|
+
<div class="tsd-parameters">
|
|
729
|
+
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
730
|
+
<ul class="tsd-parameter-list">
|
|
731
|
+
<li><span><span class="tsd-kind-parameter">w</span>: <span class="tsd-signature-type">number</span></span></li>
|
|
732
|
+
<li><span><span class="tsd-kind-parameter">h</span>: <span class="tsd-signature-type">number</span></span></li>
|
|
733
|
+
<li><span><code class="tsd-tag">Optional</code><span class="tsd-kind-parameter">a</span>: <span class="tsd-signature-type">boolean</span></span></li></ul></div>
|
|
734
|
+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
735
|
+
<p>Inherited from MapMarker.updateDisplay</p>
|
|
736
|
+
<ul>
|
|
737
|
+
<li>Defined in <a href="https://github.com/cmahnke/StoryMapJS/blob/ffcd40cfccb804f667ff3b975dd61e8cf12bd289/src/map/MapMarker.ts#L123">src/map/MapMarker.ts:123</a></li></ul></aside></div></li></ul></section></section></details></div>
|
|
738
|
+
<div class="col-sidebar">
|
|
739
|
+
<div class="page-menu">
|
|
740
|
+
<div class="tsd-navigation settings">
|
|
741
|
+
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
742
|
+
<h3>Settings</h3></summary>
|
|
743
|
+
<div class="tsd-accordion-details">
|
|
744
|
+
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
745
|
+
<ul id="tsd-filter-options">
|
|
746
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
747
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
748
|
+
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
749
|
+
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
750
|
+
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
751
|
+
<h3>On This Page</h3></summary>
|
|
752
|
+
<div class="tsd-accordion-details">
|
|
753
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary>
|
|
754
|
+
<div><a href="#_audio_badge"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>audio_<wbr/>badge</span></a><a href="#_custom_icon" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>custom_<wbr/>icon</span></a><a href="#_custom_icon_url" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>custom_<wbr/>icon_<wbr/>url</span></a><a href="#_custom_image_icon" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>custom_<wbr/>image_<wbr/>icon</span></a><a href="#_el" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>el</span></a><a href="#_icon" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>icon</span></a><a href="#_is_active"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>is_<wbr/>active</span></a><a href="#_marker" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>marker</span></a><a href="#_marker_label"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>marker_<wbr/>label</span></a><a href="#_onmarkerclickbound"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>on<wbr/>Marker<wbr/>Click<wbr/>Bound</span></a><a href="#_onmarkerkeybound"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>on<wbr/>Marker<wbr/>Key<wbr/>Bound</span></a><a href="#_onpopupkeybound"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>on<wbr/>Popup<wbr/>Key<wbr/>Bound</span></a><a href="#_overlay"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>overlay</span></a><a href="#_popup_el"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>popup_<wbr/>el</span></a><a href="#_popup_enabled"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_<wbr/>popup_<wbr/>enabled</span></a><a href="#animator" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>animator</span></a><a href="#data" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>data</span></a><a href="#fire" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>fire</span></a><a href="#marker_number" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>marker_<wbr/>number</span></a><a href="#media_icon_class" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>media_<wbr/>icon_<wbr/>class</span></a><a href="#options" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>options</span></a><a href="#timer" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Property"><use href="../assets/icons.svg#icon-1024"></use></svg><span>timer</span></a></div></details>
|
|
755
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Accessors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Accessors</summary>
|
|
756
|
+
<div><a href="#popupopen"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Accessor"><use href="../assets/icons.svg#icon-262144"></use></svg><span>popup<wbr/>Open</span></a></div></details>
|
|
757
|
+
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary>
|
|
758
|
+
<div><a href="#_active"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>active</span></a><a href="#_addto"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>add<wbr/>To</span></a><a href="#_closepopup"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>close<wbr/>Popup</span></a><a href="#_createmarker"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>create<wbr/>Marker</span></a><a href="#_createmarkerelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>create<wbr/>Marker<wbr/>Element</span></a><a href="#_createpopupelement"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>create<wbr/>Popup<wbr/>Element</span></a><a href="#_customiconanchor"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>custom<wbr/>Icon<wbr/>Anchor</span></a><a href="#_initlayout" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>init<wbr/>Layout</span></a><a href="#_location"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>location</span></a><a href="#_onmarkerclick" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>on<wbr/>Marker<wbr/>Click</span></a><a href="#_presentation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>presentation</span></a><a href="#_removefrom"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>remove<wbr/>From</span></a><a href="#_togglepopup"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>toggle<wbr/>Popup</span></a><a href="#_updateaudiobadge"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>update<wbr/>Audio<wbr/>Badge</span></a><a href="#_updatedisplay" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>_<wbr/>update<wbr/>Display</span></a><a href="#active" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>active</span></a><a href="#addto" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>add<wbr/>To</span></a><a href="#closepopup"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>close<wbr/>Popup</span></a><a href="#createmarker" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Marker</span></a><a href="#createpopup" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create<wbr/>Popup</span></a><a href="#dispose"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>dispose</span></a><a href="#haseventlisteners" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>has<wbr/>Event<wbr/>Listeners</span></a><a href="#hide" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>hide</span></a><a href="#ispopupenabled"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Popup<wbr/>Enabled</span></a><a href="#latlon"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>lat<wbr/>Lon</span></a><a href="#location" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>location</span></a><a href="#off" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>off</span></a><a href="#on" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>on</span></a><a href="#openpopup"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>open<wbr/>Popup</span></a><a href="#removefrom" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>From</span></a><a href="#show" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>show</span></a><a href="#togglepopup"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>toggle<wbr/>Popup</span></a><a href="#updatedisplay" class="tsd-is-inherited"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Method"><use href="../assets/icons.svg#icon-2048"></use></svg><span>update<wbr/>Display</span></a></div></details></div></details></div>
|
|
759
|
+
<div class="site-menu">
|
|
760
|
+
<nav class="tsd-navigation"><a href="../modules.html">StoryMapJS API</a>
|
|
761
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
762
|
+
<li>Loading...</li></ul></nav></div></div></div><footer></footer>
|
|
763
|
+
<div class="overlay"></div></body></html>
|