Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More flow #5126

Merged
merged 3 commits into from
Aug 10, 2017
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions src/ui/bind_handlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,29 +160,3 @@ module.exports = function bindHandlers(map: Map, options: {}) {
});
}
};

/**
* @typedef {Object} MapMouseEvent
* @property {string} type The event type.
* @property {Map} target The `Map` object that fired the event.
* @property {MouseEvent} originalEvent
* @property {Point} point The pixel coordinates of the mouse event target, relative to the map
* and measured from the top left corner.
* @property {LngLat} lngLat The geographic location on the map of the mouse event target.
*/

/**
* @typedef {Object} MapTouchEvent
* @property {string} type The event type.
* @property {Map} target The `Map` object that fired the event.
* @property {TouchEvent} originalEvent
* @property {Point} point The pixel coordinates of the center of the touch event points, relative to the map
* and measured from the top left corner.
* @property {LngLat} lngLat The geographic location on the map of the center of the touch event points.
* @property {Array<Point>} points The array of pixel coordinates corresponding to
* a [touch event's `touches`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches)
* property.
* @property {Array<LngLat>} lngLats The geographical locations on the map corresponding to
* a [touch event's `touches`](https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent/touches)
* property.
*/
29 changes: 0 additions & 29 deletions src/ui/camera.js
Original file line number Diff line number Diff line change
Expand Up @@ -928,33 +928,4 @@ class Camera extends Evented {
}
}

/**
* Fired whenever the map's pitch (tilt) begins a change as
* the result of either user interaction or methods such as {@link Map#flyTo} .
*
* @event pitchstart
* @memberof Map
* @instance
* @property {MapEventData} data
*/

/**
* Fired whenever the map's pitch (tilt) changes as.
* the result of either user interaction or methods such as {@link Map#flyTo}.
*
* @event pitch
* @memberof Map
* @instance
* @property {MapEventData} data
*/

/**
* Fired immediately after the map's pitch (tilt) finishes changing as
* the result of either user interaction or methods such as {@link Map#flyTo}.
*
* @event pitchend
* @memberof Map
* @instance
* @property {MapEventData} data
*/
module.exports = Camera;
Loading