Commit 14aa4400 authored by Camil Staps's avatar Camil Staps 🚀

Merge branch '324-map-tiles-of-leaflet-example-broken' into 'master'

leaflet map example: use openstreetmap server for tiles again

Closes #324

See merge request !296
parents 778e5b05 aec1c5ce
Pipeline #27669 passed with stage
in 5 minutes and 12 seconds
...@@ -6,7 +6,7 @@ import iTasks.UI.Definition ...@@ -6,7 +6,7 @@ import iTasks.UI.Definition
import StdFunctions, Data.List, Text.HTML import StdFunctions, Data.List, Text.HTML
playWithMaps :: Task () playWithMaps :: Task ()
playWithMaps = withShared ({defaultValue & icons = shipIcons, tilesUrls = ["/tiles/{z}/{x}/{y}.png"]},defaultValue) (\m -> playWithMaps = withShared ({defaultValue & icons = shipIcons},defaultValue) (\m ->
((allTasks [managePerspective m, manageState m, manageMapObjects m]) <<@ ScrollContent) ((allTasks [managePerspective m, manageState m, manageMapObjects m]) <<@ ScrollContent)
-&&- -&&-
manipulateMap m manipulateMap m
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment