From ac80a58b1b43a492e0df854be2636958e4739d24 Mon Sep 17 00:00:00 2001 From: Jakub Hampl Date: Thu, 19 Jul 2018 10:56:18 +0100 Subject: Un-expose the incoming port stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’m less convinced about the actual usecases for these, so I’d like to wait for feedback on these. --- examples/MapCommands.elm | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) (limited to 'examples') 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 -} -- cgit v1.2.3