1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-30 05:19:57 +00:00
TiddlyWiki5/plugins/tiddlywiki/geospatial/icon.tid
Jeremy Ruston 4055501f71
Add Geospatial plugin (#7406)
* Add XLSX import spec for demo real estate spreadsheets

* Fix fieldname

* Improve map pin

* RealEstate demo: Set lat, long, price fields to be numeric

* Clean up Flickr demo

* Update geomap widget to refresh properly

* Add Leaflet MasterCluster plugin

* Setup the marker cluster plugin

* Rearrange real estate demo

* Reduce default cluster radius

* Beginnings of real estate demo

* Fix interpretation of HTTP status codes

* Real estate demo: Make columns hideable

* Real estate demo: sortability

* Real estate demo: search and limit

* Fix typo

* Fix lat long transposition

* Fix startup ordering

* Add geolookup operator

* Real Estate Demo: Add support for computed columns

* Real estate demo: Increase result limit

* Remove demo data

* Track map pan and zoom state in a state tiddler

* WIP

* Use geojson extension for geojson file

* Use geojson extensions for another geojson file

* Split demo from the geospatial plugin into its own edition

* Add build targets required by ./bin/site-build.sh...

... when building the geospatial edition as the main edition, making it easier to find on Vercel

* CI Fixes

* Fix default tab

* Rearranging geospatial plugin vs. edition

* More refactoring between demo and plugin

* Start of plugin docs

* Display GeoJSON properties on click

* Fix layer lookup demo

* Restore XLSX Utils plugin and dependencies

* Cleanup docs

* Remove 5.2.8 release note

* Remove 5.2.8 release note

* Docs update

* Fix minor refreshing bug for geomap widget

* Docs updates

* Add jsonset operator

* Add geonearestpoint operator

* jsonset: support for other data types and documentation

* Add logo

* Add link to preview build

* jsonset: add support for assigning JSON strings

* Fix nonstandard initialisation code for fill/parameter/slot widgets

* Introduce testcase widget so that we can reuse testcases as documentation examples

There's still a bit to do: adding tabs to the source panel of the testcase display, and tweaking the CSS.

* Update logo

* Testcasewidget: Add tabs for switching between source tiddlers

* Testcase appearance tweaks

* Switch to fluid-fixed layout

* Docs for the testcase-transclude and testcase-view widgets

* Split docs into separate tabs

* Extend testcase-view to be able to view other fields

* Extend default testcase template to show all fields of payload tiddlers

* Add some geomap examples

* Fix testcase rounded corners

* Add a geomap layer demo

* Add favicon

* Switch from building the geospatial plugin as the main build back to tw5.com

To make it easier to get to the documentation for the new features

* Remove obsolete comment

* Remove geospatial plugin from tw5.com build

* Fix build link

* Add note about core enhancements included in this branch

* Refactor data widget implementation

To avoid code duplication

* Integrate test cases with the docs

* Remove erroneously pasted docs material

* Remove erroneously copied olc-encode tests within old-decode test case

* Refactor compound tiddler handling into data widget

And add some tests for the data widget

* Default test case template tweaks

* Move Flickr macros into geospatial plugin from the demo edition

* FlickrDemo: Simplify UI

* FlickrMacros: Use a template to define photo tiddler fields

* Remove geospatial plugin from prerelease default tiddlers

* Extend Flickr helpers to support photoTiddlerTemplate parameter

* Update modification times of doc tiddlers

So that they are at the top of the recent tab

* Update 5.3.0 release note

* Remove custom CI step for this branch

* Restore standard sitetitle

* Flickr macro docs

* Rename $:/tags/GeoLayer to $:/tags/GeoFeature

And make sure that it works with all GeoJSON features, not just polygons

* More test data (from leaflet.js)

* Captions should be transcluded, not viewed raw

* Make HTTP handler use wiki of widget that sent the message

* Switch testcase widget to use an intrinsic template

Makes things much simpler

* Complete Flickr demos

* Extend geonearestpoint operator to work with feature collections

* Extend realestate demo to show data on nearest volcano

* Flickr macros: fix pagination after first page

Make sure that the widget we create to run the actions also has access to the event handlers attached to the rootwidget.

* Real estate demo: Fix nearest volcano

* Testcase docs update

* Testcase template: put title at the top and remove header row

* Docs correction

* New geonearestpoint test case

* Make test cases editable

* Test case default template: Always put "Output" tab first

* Initial Commit

* HttpClient object shouldn't need to know about events

* Add support for cancelling HTTP requests

* Make the number of outstanding HTTP requests available in a state tiddler

* Add a network activity button

Click it to cancel outstanding requests

* WIP

* Fix typo

Thanks @btheado

Co-authored-by: btheado <brian.theado@gmail.com>

* Data widget: parse carriage returns in compound tiddlers

* Fix crash when cancelling more than one HTTP request

Thanks @saqimtiaz

* Further fixes to cancelling outstanding HTTP requests

* Don't have data widget rendering its own JSON

Making the data widget render its raw JSON (introduced in 683ec33004) was a bad idea as it messes up the innerwiki use of the data widget. Instead we use the testcase widget with a special template to render the raw JSON of the payload of a testcase, thus giving us a way to test the data widget

* Fix missed docs update

* Introduce geolayer widget for specifying layers for geomap

* Fix breaking tests

* Remove docs references to obsolete widgets

* Tests for geounion, geointersect and geodifference

* Support for multiple base layers

* Make the layers control visible which allows the base layer to be chosen, and individual overlay layers to be hidden
* Add tiddlers tagged $:/tags/GeoBaseLayer to define some useful map base layers
* Add geobaselayer widget to define base layers

* Add a satellite base layer and another terrain base layer

* Add a note where to get more base layers

* Docs update

* Geomap widget: fix default base layer rendering

* Add startPosition and layersPanel attributes to geomap widget

* Update geolayer widget docs with missing attributes

* Add interactive demos for geounion, geodifference, geointersection

* Open geofeature and geomarker maps on the bounds of their content

* Move settings from demo into plugin

Because now the Flickr macros are part of the plugin

* Icon for geospatial plugin

* Fix missing body

* Flickr Demo typo

* Docs update

* Add support for draggable markers

* Removed accidentally committed file

* Remove unwanted log

* Add support for tm-request-geolocation message

* Fix typo

* Fix bug when fitting to non-extistent bounds

* Update main wiki greeting

* Use "Flickr helpers" instead of "Flickr macros"

* File renames for 05d3271603

* Fix testcase widget example

Thanks @btheado

* Fix testcase widget refreshing

* Fix failing tests from 03b6413c7a

* Docs: Clarify that template must be in the payload

* Testcase widget: Exclude tab state tiddlers

See https://github.com/Jermolene/TiddlyWiki5/pull/7406#discussion_r1327971965

Thanks @btheado

* Remove obsolete setquerystring operator

Instead we have the query- parameters to the http request message

* Remove obsolete change to --setfield command

* Fix tiddler name typo

* Initial Commit

* Add note to preview build

* Fix whitespace and indenting

Thanks @pmario

* Fix crash with unset $tiddler attribute on <$data> widget

Thanks @CodaCodr

* Remove Stamen baselayers

They have stopped making them available for free - see https://maps.stamen.com/stadia-partnership/

* Disable test that won't run in browser CI

* Disable broken tests

* Update olc-encode.tid (#7885)

Correct spelling

* Don't duplicate "description" field in test cases

* Use different background colours for nested testcase widgets

* Extend the testcase widget to run tests

* Add testcases to control panel

* Add a view template body template to render testcase tiddlers

* Test edition should display testcases

* Whitespace fixes

* Make testcase tiddler tempalte link to itself

* Styling tweaks

* Docs improvements

* Styling tweaks

* Run the new tw5.com testcases in the test edition

* Update data widget to display its content in JSON

* Add testcase convenience procedure

* Clearer testcases for data widget, and docs tweaks

* Don't expect our intentionally failing test to pass

* Extend testcase default template so that the display format can be chosen

It is selected by setting the variable "displayFormat"

* DataWidget docs typo

* Mark Geospatial plugin as experimental

* Update to Leaflet v1.9.4

* Remove unneeded template

Left over from when the testcase widget was first implemented

* Don't hide the volcanoes of the world data set

* Update Flickr demo docs

* Fix subtle typo that was preventing popups from working correctly

* Go back to hiding the volcanoes of the world by default

Too much data for a small device now that the markers are displayed correctly

* Clarify docs for tm-request-location

* Update modified testcase from master

* Prepare for merging

---------

Co-authored-by: btheado <brian.theado@gmail.com>
Co-authored-by: Drevarr <drevarr@gmail.com>
2024-05-31 13:31:30 +01:00

6 lines
2.9 KiB
Plaintext

title: $:/plugins/tiddlywiki/geospatial/icon
tags: $:/tags/Image
<svg class="tc-image-geospatial tc-image-button" width="128px" height="128px" viewBox="0 0 128 128">
<path d="M64,0 L118.5596,32 L118.5596,96 L64,128 L9.44039956,96 L9.44039956,32 L64,0 Z M64,29 C44.117749,29 28,45.117749 28,65 C28,84.882251 44.117749,101 64,101 C83.882251,101 100,84.882251 100,65 C100,45.117749 83.882251,29 64,29 Z M69.6659011,87.3092946 C67.8167084,92.3945746 65.5767384,95 64,95 C62.4232616,95 60.1832916,92.3945746 58.3340989,87.3092946 C57.4514233,84.8819366 56.7233795,82.0733353 56.1752292,79.0013467 L71.8247708,79.0013467 C71.2766205,82.0733353 70.5485767,84.8819366 69.6659011,87.3092946 Z M54.4351223,93.3855702 L54.4715872,93.4551942 C47.1188792,90.9941589 41.0355385,85.7630682 37.4607962,79.0011535 L50.065902,79.0011918 C50.9847736,84.6847215 52.4732131,89.6306568 54.4351223,93.3855702 Z M73.9278092,93.3183544 L73.5285357,93.4548863 C75.5084115,89.6916164 77.0095611,84.7197629 77.934098,79.0011918 L90.5392038,79.0011535 C87.0293925,85.6402459 81.1012868,90.8036204 73.9278092,93.3183544 Z M49.0856543,60.8983161 L49.0438345,62.057885 L49.0158284,63.2276286 L49.001764,64.4069427 L49.001764,65.5930573 L49.0158284,66.7723714 L49.0438345,67.942115 L49.0856543,69.1016839 C49.1414331,70.4241818 49.2241598,71.7254557 49.3329678,73.0014175 L35.0786864,73.0008004 C34.3756093,70.4536895 34,67.7707089 34,65 C34,61.4936775 34.6015313,58.1278502 35.707027,55.000085 L49.5270021,54.9992607 C49.3190302,56.9063364 49.1708839,58.8775499 49.0856543,60.8983161 Z M73,65 C73,67.7435728 72.8734781,70.4284195 72.6318412,73.0013223 L55.3681588,73.0013223 C55.1265219,70.4284195 55,67.7435728 55,65 C55,61.5374469 55.2015234,58.1684325 55.5816402,54.9999351 L72.4183598,54.9999351 C72.7984766,58.1684325 73,61.5374469 73,65 Z M94,65 C94,67.7707089 93.6243907,70.4536895 92.9213136,73.0008004 L78.6670322,73.0014175 C78.7758402,71.7254557 78.8585669,70.4241818 78.9143457,69.1016839 L78.9561655,67.942115 L78.9841716,66.7723714 L78.998236,65.5930573 C78.9994111,65.3957409 79,65.198051 79,65 L78.998236,64.4069427 L78.9841716,63.2276286 L78.9561655,62.057885 L78.9143457,60.8983161 C78.8291161,58.8775499 78.6809698,56.9063364 78.4729979,54.9992607 L92.292973,55.000085 C93.3984687,58.1278502 94,61.4936775 94,65 Z M50.418283,49.0002745 L38.6181702,49.0001161 C42.2760329,43.2095365 47.8607397,38.757532 54.4715872,36.5448058 C52.7259423,39.8629331 51.3525223,44.1201544 50.418283,49.0002745 Z M64,35 C65.5767384,35 67.8167084,37.6054254 69.6659011,42.6907054 C70.3532591,44.58094 70.9468474,46.7023629 71.4347369,48.9993201 L56.5652631,48.9993201 C57.0531526,46.7023629 57.6467409,44.58094 58.3340989,42.6907054 C60.1381894,37.7294566 62.3142273,35.1285691 63.8834606,35.004648 L64,35 L64,35 Z M89.3818298,49.0001161 L77.581717,49.0002745 C76.6474777,44.1201544 75.2740577,39.8629331 73.5285357,36.5451137 C80.1392603,38.757532 85.7239671,43.2095365 89.3818298,49.0001161 Z"></path>
</svg>