react-native-mapsforge-vtm
Version:
React Native components to build vector maps using Mapsforges fork of vtm. Offline rendering of OpenStreetMap data. Android only
67 lines (64 loc) • 3.14 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.MapLayerScalebarModule = exports.MapLayerPathSlopeGradientModule = exports.MapLayerPathModule = exports.MapLayerMarkerModule = exports.MapLayerMapsforgeModule = exports.MapLayerMBTilesBitmapModule = exports.MapLayerHillshadingModule = exports.MapLayerBitmapTileModule = exports.MapContainerModule = exports.CanvasAdapterModule = void 0;
var _reactNative = require("react-native");
var _constants = require("./constants.js");
/**
* External dependencies
*/
/**
* Internal dependencies
*/
const CanvasAdapterModule = exports.CanvasAdapterModule = _reactNative.NativeModules.CanvasAdapterModule ? _reactNative.NativeModules.CanvasAdapterModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapContainerModule = exports.MapContainerModule = _reactNative.NativeModules.MapContainerModule ? _reactNative.NativeModules.MapContainerModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerMapsforgeModule = exports.MapLayerMapsforgeModule = _reactNative.NativeModules.MapLayerMapsforgeModule ? _reactNative.NativeModules.MapLayerMapsforgeModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerBitmapTileModule = exports.MapLayerBitmapTileModule = _reactNative.NativeModules.MapLayerBitmapTileModule ? _reactNative.NativeModules.MapLayerBitmapTileModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerMBTilesBitmapModule = exports.MapLayerMBTilesBitmapModule = _reactNative.NativeModules.MapLayerMBTilesBitmapModule ? _reactNative.NativeModules.MapLayerMBTilesBitmapModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerScalebarModule = exports.MapLayerScalebarModule = _reactNative.NativeModules.MapLayerScalebarModule ? _reactNative.NativeModules.MapLayerScalebarModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerPathModule = exports.MapLayerPathModule = _reactNative.NativeModules.MapLayerPathModule ? _reactNative.NativeModules.MapLayerPathModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerPathSlopeGradientModule = exports.MapLayerPathSlopeGradientModule = _reactNative.NativeModules.MapLayerPathSlopeGradientModule ? _reactNative.NativeModules.MapLayerPathSlopeGradientModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerHillshadingModule = exports.MapLayerHillshadingModule = _reactNative.NativeModules.MapLayerHillshadingModule ? _reactNative.NativeModules.MapLayerHillshadingModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
const MapLayerMarkerModule = exports.MapLayerMarkerModule = _reactNative.NativeModules.MapLayerMarkerModule ? _reactNative.NativeModules.MapLayerMarkerModule : new Proxy({}, {
get() {
throw new Error(_constants.LINKING_ERROR);
}
});
//# sourceMappingURL=nativeMapModules.js.map