aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJakub Hampl <kopomir@gmail.com>2018-07-19 10:56:18 +0100
committerJakub Hampl <kopomir@gmail.com>2018-07-19 10:56:18 +0100
commitac80a58b1b43a492e0df854be2636958e4739d24 (patch)
tree7787ed30cce846a2ff54e155fde8fe26131ab7ca /examples
parent23c3623bda77a4601cfec3dfd7d9961b7d4fb83c (diff)
Un-expose the incoming port stuff
I’m less convinced about the actual usecases for these, so I’d like to wait for feedback on these.
Diffstat (limited to 'examples')
-rw-r--r--examples/MapCommands.elm20
1 files changed, 5 insertions, 15 deletions
diff --git a/examples/MapCommands.elm b/examples/MapCommands.elm
index b77cbf7..3eabc69 100644
--- a/examples/MapCommands.elm
+++ b/examples/MapCommands.elm
@@ -1,28 +1,18 @@
-port module MapCommands exposing (id, panBy, panTo, zoomTo, zoomIn, zoomOut, rotateTo, jumpTo, easeTo, flyTo, stop, fitBounds, setRTLTextPlugin, Response, queryResults, getBounds, queryRenderedFeatures)
+port module MapCommands exposing (id, panBy, panTo, zoomTo, zoomIn, zoomOut, rotateTo, jumpTo, easeTo, flyTo, stop, fitBounds, resize)
-{-| This module has a bunch of essentially imperative commands for your map.
+{-| Tell your map to do something! Most of these Commands tell your map to (with or without animation) to show a different location. You can use the options from `Mapbox.Cmd.Option` to configure these.
@docs id
### Moving the map around
-@docs panBy, panTo, zoomTo, zoomIn, zoomOut, rotateTo, jumpTo, easeTo, flyTo, stop
+@docs panBy, panTo, zoomTo, zoomIn, zoomOut, rotateTo, jumpTo, easeTo, flyTo, fitBounds, stop
-### Fitting bounds
+### Other
-@docs fitBounds
-
-
-### Right-to-left
-
-@docs setRTLTextPlugin
-
-
-### Querying the map
-
-@docs Response, queryResults, getBounds, queryRenderedFeatures, Query
+@docs resize
-}