1 line
7.4 KiB
JSON
1 line
7.4 KiB
JSON
["^ ","~:rename-macros",["^ "],"~:renames",["^ "],"~:externs",["^ ","~$Object",["^ ","~$bindPopup",["^ "],"~$addTo",["^ "]],"~$navigator",["^ ","~$geolocation",["^ ","~$getCurrentPosition",["^ "]]],"~$L",["^ ","~$latLng",["^ "],"~$icon",["^ "],"~$marker",["^ "],"~$Marker",["^ "]],"~$Number",["^ "]],"~:use-macros",["^ "],"~:excludes",["~#set",[]],"~:name","~$geocsv-lite.gis","~:imports",null,"~:requires",["^ ","~$cljs.reader","^E","~$cs","~$clojure.string","^G","^G","~$n","~$geocsv-lite.notify","^H","^H"],"~:cljs.spec/speced-vars",[],"~:uses",["^ ","~$read-string","^E"],"~:defs",["^ ","~$map-pin-click-handler",["^ ","~:protocol-inline",null,"~:meta",["^ ","~:file","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","~:line",62,"~:column",7,"~:end-line",62,"~:end-column",28,"~:arglists",["~#list",["~$quote",["^V",[["~$id"]]]]]],"^A","~$geocsv-lite.gis/map-pin-click-handler","^P","src/geocsv_lite/gis.cljs","^T",28,"~:method-params",["^V",[["^X"]]],"~:protocol-impl",null,"~:arglists-meta",["^V",[null,null]],"^R",1,"~:variadic?",false,"^Q",62,"~:ret-tag","~$any","^S",62,"~:max-fixed-arity",1,"~:fn-var",true,"^U",["^V",["^W",["^V",[["^X"]]]]]],"~$map-remove-pins",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",146,"^R",7,"^S",146,"^T",22,"^U",["^V",["^W",["^V",[["~$view"]]]]],"~:doc","Remove all pins from this map `view`. Side-effecty; liable to be\n problematic."],"^A","~$geocsv-lite.gis/map-remove-pins","^P","src/geocsv_lite/gis.cljs","^T",22,"^Z",["^V",[["^17"]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",146,"^12",["^@",[null,"^13"]],"^S",146,"^14",1,"^15",true,"^U",["^V",["^W",["^V",[["^17"]]]]],"^18","Remove all pins from this map `view`. Side-effecty; liable to be\n problematic."],"~$get-current-location",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",33,"^R",7,"^S",33,"^T",27,"^U",["^V",["^W",["^V",[["^17"]]]]]],"^A","~$geocsv-lite.gis/get-current-location","^P","src/geocsv_lite/gis.cljs","^T",27,"^Z",["^V",[["^17"]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",33,"^S",33,"^14",1,"^15",true,"^U",["^V",["^W",["^V",[["^17"]]]]]],"~$pin-image",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",67,"^R",7,"^S",67,"^T",16,"^U",["^V",["^W",["^V",[["~$record"]]]]],"^18","Return the name of a suitable pin image for this `record`."],"^A","~$geocsv-lite.gis/pin-image","^P","src/geocsv_lite/gis.cljs","^T",16,"^Z",["^V",[["^1="]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",67,"^12","~$string","^S",67,"^14",1,"^15",true,"^U",["^V",["^W",["^V",[["^1="]]]]],"^18","Return the name of a suitable pin image for this `record`."],"~$compute-zoom",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",157,"^R",7,"^S",157,"^T",19,"^U",["^V",["^W",["^V",[["~$min-lat","~$max-lat","~$min-lng","~$max-lng"]]]]],"^18","See [explanation here](https://leafletjs.com/examples/zoom-levels/). Brief\n summary: it's hard, but it doesn't need to be precise."],"^A","~$geocsv-lite.gis/compute-zoom","^P","src/geocsv_lite/gis.cljs","^T",19,"^Z",["^V",[["^1A","^1B","^1C","^1D"]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",157,"^12",["^@",["^13","~$clj-nil"]],"^S",157,"^14",4,"^15",true,"^U",["^V",["^W",["^V",[["^1A","^1B","^1C","^1D"]]]]],"^18","See [explanation here](https://leafletjs.com/examples/zoom-levels/). Brief\n summary: it's hard, but it doesn't need to be precise."],"~$add-map-pin",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",116,"^R",7,"^S",116,"^T",18,"^U",["^V",["^W",["^V",[["^1=","~$index","^17"]]]]],"^18","Add an appropriate map-pin for this `record` in this map `view`, if it\n has a valid `:latitude` and `:longitude`."],"^A","~$geocsv-lite.gis/add-map-pin","^P","src/geocsv_lite/gis.cljs","^T",18,"^Z",["^V",[["^1=","^1H","^17"]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",116,"^12",["^@",["~$js","^1F"]],"^S",116,"^14",3,"^15",true,"^U",["^V",["^W",["^V",[["^1=","^1H","^17"]]]]],"^18","Add an appropriate map-pin for this `record` in this map `view`, if it\n has a valid `:latitude` and `:longitude`."],"~$compute-centre",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",169,"^R",7,"^S",169,"^T",21,"^U",["^V",["^W",["^V",[["~$records"]]]]],"^18","Compute, and return as a map with keys `:latitude` and `:longitude`, the\n centre of the locations of these records as indicated by the values of their\n `:latitude` and `:longitude` keys."],"^A","~$geocsv-lite.gis/compute-centre","^P","src/geocsv_lite/gis.cljs","^T",21,"^Z",["^V",[["^1L"]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",169,"^12","~$cljs.core/IMap","^S",169,"^14",1,"^15",true,"^U",["^V",["^W",["^V",[["^1L"]]]]],"^18","Compute, and return as a map with keys `:latitude` and `:longitude`, the\n centre of the locations of these records as indicated by the values of their\n `:latitude` and `:longitude` keys."],"~$popup-content",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",82,"^R",7,"^S",82,"^T",20,"^U",["^V",["^W",["^V",[["^1="]]]]],"^18","Appropriate content for the popup of a map pin for this `record`."],"^A","~$geocsv-lite.gis/popup-content","^P","src/geocsv_lite/gis.cljs","^T",20,"^Z",["^V",[["^1="]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",82,"^12",["^@",["^1?","^1F"]],"^S",82,"^14",1,"^15",true,"^U",["^V",["^W",["^V",[["^1="]]]]],"^18","Appropriate content for the popup of a map pin for this `record`."],"~$popup-table-content",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",98,"^R",7,"^S",98,"^T",26,"^U",["^V",["^W",["^V",[["^1="]]]]],"^18","Appropriate content for the popup of a map pin for this `record`, as a\n table. Obviously this is semantically wrong, but for styling reasons it's\n worth trying."],"^A","~$geocsv-lite.gis/popup-table-content","^P","src/geocsv_lite/gis.cljs","^T",26,"^Z",["^V",[["^1="]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",98,"^12",["^@",["^1?","^1F"]],"^S",98,"^14",1,"^15",true,"^U",["^V",["^W",["^V",[["^1="]]]]],"^18","Appropriate content for the popup of a map pin for this `record`, as a\n table. Obviously this is semantically wrong, but for styling reasons it's\n worth trying."],"~$refresh-map-pins",["^ ","^N",null,"^O",["^ ","^P","/home/simon/workspace/geocsv-lite/src/geocsv_lite/gis.cljs","^Q",189,"^R",7,"^S",189,"^T",23,"^U",["^V",["^W",["^V",[["^17","^1L"]]]]],"^18","Refresh the map pins on the current map. Side-effecty; liable to be\n problematic."],"^A","~$geocsv-lite.gis/refresh-map-pins","^P","src/geocsv_lite/gis.cljs","^T",23,"^Z",["^V",[["^17","^1L"]]],"^[",null,"^10",["^V",[null,null]],"^R",1,"^11",false,"^Q",189,"^12",["^@",["^13","^1F"]],"^S",189,"^14",2,"^15",true,"^U",["^V",["^W",["^V",[["^17","^1L"]]]]],"^18","Refresh the map pins on the current map. Side-effecty; liable to be\n problematic."]],"~:cljs.spec/registry-ref",[],"~:require-macros",["^ ","^E","^E"],"~:cljs.analyzer/constants",["^ ","~:seen",["^@",["~:category","~:zoom","~:iconAnchor","~:else","~:shadowAnchor","^A","~:longitude","~:icon","~:title","~:iconSize","~:shadowSize","~:iconUrl","~:riseOnHover","~:shadowUrl","~:latitude"]],"~:order",["^20","^1Y","^A","^2:","^22","^1[","^25","^27","^28","^21","^26","^29","^23","^24","^1Z"]],"^18","geocsv app map stuff."] |