diff --git a/README.md b/README.md index 2a9d156..adc97d4 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,14 @@ An even more ultra-lightweight tool to show comma-separated value data on a map. +## Other variants + +This is a little project I've played about with, and there are now three variants: + +1. [geocsv](https://github.com/simon-brooke/geocsv) is a fairly heavyweight web-app with both client-side and serverside components. It was the first version, and is the only version which meets the original requirement of being able to present data from [Google Sheets](https://www.google.co.uk/sheets/about/), but it's a remarkably heavyweight solution to what should be a simple problem. +2. [geocsv-lite](https://github.com/simon-brooke/geocsv-lite) is a much lighter, client-side only reworking of the problem, in ClojureScript. I still wasn't satisfied that this was light enough. +3. [geocsv-js](https://github.com/simon-brooke/geocsv-js) is a reworking in native JavaScript without any frameworks or heave libraries, except Leaflet. It is vastly lighter, and probably the one to use in most applications. + ## Overview This is a third iteration of GeoCSV. The [original](https://github.com/simon-brooke/geocsv) was written quickly in Clojure and ClojureScript, with CSV parsing done server side and React (via [re-frame](https://github.com/day8/re-frame)) driving the client side. That's my comfort zone; but it had the benefit that my customer wanted to pull data from Google Sheets, which you can't do from client side (or at least I don't know how to) because of cross-site scripting protections. diff --git a/index.html b/index.html index d8ec296..075b763 100644 --- a/index.html +++ b/index.html @@ -122,8 +122,8 @@ crossorigin=""/>
  • For each div which you wish to contain a map view, an invocation of the function - geocsv_lite.core.initialise_map_element(id, data-source):
    - <script>geocsv_lite.core.initialise_map_element("map", "data/data.csv");</script> + geocsv_lite.core.initialiseMapElement(id, data-source):
    + <script>geocsv_lite.core.initialiseMapElement("map", "data/data.csv");</script>
  • @@ -159,6 +159,12 @@ crossorigin=""/> and you don't have an appropriate pin image for each value present, then you will get 'broken' pin images appearing on your map.

    +

    + GitHub repository +

    +

    + Is here. +