aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
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
-}