react-native-mechanic-map
Version:
React Native wrapper for Mechanic Map
82 lines (68 loc) • 2.76 kB
JavaScript
import MechanicMap from './MechanicMap';
export let LocationTypes;
(function (LocationTypes) {
LocationTypes["STORE"] = "store";
LocationTypes["SERVICE"] = "service";
})(LocationTypes || (LocationTypes = {}));
export let LocationActions;
(function (LocationActions) {
LocationActions["ZOOM"] = "zoom";
LocationActions["SELECT"] = "select";
LocationActions["TOOLTIP"] = "tooltip";
LocationActions["NOT_EMPTY"] = "not-empty";
})(LocationActions || (LocationActions = {}));
export let MapActions;
(function (MapActions) {
MapActions["INIT"] = "init";
MapActions["SHOW_NAVIGATION"] = "showNavigation";
MapActions["CLOSE_NAVIGATION"] = "closeNavigation";
MapActions["SHOW_LOCATION"] = "selectLocation";
MapActions["SET_FLOOR"] = "selectFloor";
MapActions["HIGHLIGHT_LOCATIONS"] = "highlightLocations";
MapActions["HIDE_LOCATION"] = "hideLocation";
MapActions["SET_CURRENT_LOCATION"] = "setCurrentLocation";
MapActions["SHOW_CURRENT_LOCATION"] = "showCurrentLocation";
MapActions["MOVE_CURRENT_LOCATION"] = "moveCurrentLocation";
MapActions["REMOVE_CURRENT_LOCATION"] = "removeCurrentLocation";
MapActions["ZOOM_IN"] = "zoomIn";
MapActions["ZOOM_OUT"] = "zoomOut";
MapActions["ADD_LEVEL"] = "addLevel";
MapActions["RESET_LEVEL"] = "resetLevel";
MapActions["MOVE_TO"] = "moveTo";
MapActions["ZOOM_TO"] = "zoomTo";
MapActions["CHANGE_COLORS"] = "changeColors";
MapActions["RELOAD"] = "reload";
})(MapActions || (MapActions = {}));
export let MapResponses;
(function (MapResponses) {
MapResponses["MAP_LOADED"] = "mapLoaded";
MapResponses["LOCATION_OPENED"] = "locationOpened";
MapResponses["LOCATION_CLOSED"] = "locationClosed";
MapResponses["LEVEL_SWITCHED"] = "levelSwitched";
MapResponses["LOCATION_HIGHLIGHTED"] = "locationsHighlighted";
MapResponses["NAVIGATION_CANCELLED"] = "navigationCancelled";
MapResponses["ERROR"] = "error";
})(MapResponses || (MapResponses = {}));
export let MapModes;
(function (MapModes) {
MapModes["DEFAULT"] = "default";
MapModes["PICKER"] = "picker";
})(MapModes || (MapModes = {}));
export let MapActionModes;
(function (MapActionModes) {
MapActionModes["DEFAULT"] = "default";
MapActionModes["TOOLTIP"] = "tooltip";
MapActionModes["SELECT"] = "select";
MapActionModes["ZOOM"] = "zoom";
MapActionModes["NOT_EMPTY"] = "not-empty";
})(MapActionModes || (MapActionModes = {}));
export let MapAnimationModes;
(function (MapAnimationModes) {
MapAnimationModes["LINE"] = "line";
MapAnimationModes["DOT"] = "dot";
MapAnimationModes["ARROW"] = "arrow";
MapAnimationModes["FOOT"] = "foot";
MapAnimationModes["FEET"] = "feet";
})(MapAnimationModes || (MapAnimationModes = {}));
export default MechanicMap;
//# sourceMappingURL=index.js.map