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. --- src/Mapbox/Cmd/Option.elm | 7 +------ src/Mapbox/Cmd/Template.elm | 9 ++------- 2 files changed, 3 insertions(+), 13 deletions(-) (limited to 'src/Mapbox') diff --git a/src/Mapbox/Cmd/Option.elm b/src/Mapbox/Cmd/Option.elm index 3e2a889..2e3321d 100644 --- a/src/Mapbox/Cmd/Option.elm +++ b/src/Mapbox/Cmd/Option.elm @@ -1,4 +1,4 @@ -module Mapbox.Cmd.Option exposing (duration, easing, offset, animate, curve, minZoom, speed, screenSpeed, maxDuration, center, zoom, bearing, pitch, around, padding, Padding, linear, maxZoom, layers, filter, intersectsPoint, intersectsBox) +module Mapbox.Cmd.Option exposing (duration, easing, offset, animate, curve, minZoom, speed, screenSpeed, maxDuration, center, zoom, bearing, pitch, around, padding, Padding, linear, maxZoom) {-| @@ -23,11 +23,6 @@ Options common to `jumpTo`, `easeTo`, and `flyTo`, controlling the desired locat @docs padding, Padding, linear, maxZoom - -### Querying rendered features - -@docs layers, filter, intersectsPoint, intersectsBox - -} import Mapbox.Helpers exposing (encodePair) diff --git a/src/Mapbox/Cmd/Template.elm b/src/Mapbox/Cmd/Template.elm index 0889c29..4d412d5 100644 --- a/src/Mapbox/Cmd/Template.elm +++ b/src/Mapbox/Cmd/Template.elm @@ -1,4 +1,4 @@ -module Mapbox.Cmd.Template exposing (Id, Outgoing, Option, Supported, panBy, panTo, zoomTo, zoomIn, zoomOut, rotateTo, jumpTo, easeTo, flyTo, stop, fitBounds, setRTLTextPlugin, queryResults, getBounds, queryRenderedFeatures, resize) +module Mapbox.Cmd.Template exposing (Id, Outgoing, Option, Supported, panBy, panTo, zoomTo, zoomIn, zoomOut, rotateTo, jumpTo, easeTo, flyTo, stop, fitBounds, resize) {-| This module has a bunch of essentially imperative commands for your map. @@ -21,12 +21,7 @@ You can of course customize the module you copy into your codebase to support th ### Other -@docs setRTLTextPlugin, resize - - -### Querying the map - -@docs queryResults, getBounds, queryRenderedFeatures +@docs resize -} -- cgit v1.2.3