2023-03-16 17:22:22 +00:00
title: HelloThere
2023-01-27 08:45:19 +00:00
2023-04-05 11:15:16 +00:00
//The latest build of the Geospatial Plugin can be found at:// https://tiddlywiki5-git-geospatial-plugin-jermolene.vercel.app
2023-03-17 09:48:35 +00:00
!! Introduction
{{$:/plugins/tiddlywiki/geospatial/readme}}
!! Prerequisites
2023-04-03 16:59:01 +00:00
This demo requires that the API keys needed to access external services be obtained by the end user and manually configured. These keys are stored in the browser and so only need to be set up once. See the ''Settings'' tab below for details.
2023-03-17 09:48:35 +00:00
!! Demos
2023-01-27 08:45:19 +00:00
2023-01-30 08:57:30 +00:00
* Visit the ~GeoLayers and ~GeoMarkers tabs to see the data loaded into this wiki
* Click on a link to a layer or marker to open the corresponding tiddler that includes a map
* Use the Flickr tab to retrieve geotagged photographs from Flickr
* Visit a ~GeoMarker tiddler and use the "Call ~TravelTime" button to calculate an isochrone from that location using the ~TravelTime API
2023-02-12 10:57:54 +00:00
! Map Showing All Layers and Markers
<$geomap
markers="[all[tiddlers+shadows]tag[$:/tags/GeoMarker]]"
layers="[all[tiddlers+shadows]tag[$:/tags/GeoLayer]]"
2023-03-10 12:45:20 +00:00
state=<<qualify "$:/state/demo-map">>
2023-02-12 10:57:54 +00:00
/>
2023-03-17 07:52:12 +00:00
<<tabs tabsList:"[all[tiddlers+shadows]tag[$:/tags/GeospatialDemo]]" default:"GeoMarkers">>
2023-04-10 15:25:01 +00:00
---
! Test Cases
<$testcase testcase-tiddler="Example Test Case">
</$testcase>
<$testcase>
<$data title="Description" text="Testing the ways JavaScript macros can be invoked"/>
<$data title="Output" text="""\whitespace trim
<<makedatauri text:"Wildebeest" type:"text/plain">>
<$macrocall $name="makedatauri" text="Wildebeest" type="text/plain"/>
"""/>
<$data title="ExpectedResult" text="""<p><a class="tc-tiddlylink-external" href="data:text/plain,Wildebeest" rel="noopener noreferrer" target="_blank">data:text/plain,Wildebeest</a></p><p><a class="tc-tiddlylink-external" href="data:text/plain,Wildebeest" rel="noopener noreferrer" target="_blank">data:text/plain,Wildebeest</a></p>
"""/>
</$testcase>