Added the maps-module to the iwmlib.
Migrated a ot of the content from the tuesch to the iwmlib. This is before the decoupeling of the layers.
This commit is contained in:
@@ -60,3 +60,52 @@ window.List = List
|
||||
window.LabeledGraphics = LabeledGraphics
|
||||
window.FontInfo = FontInfo
|
||||
window.Text = Text
|
||||
|
||||
//Maps
|
||||
import MapView from './maps/mapview.js'
|
||||
import { GeoMap, ImageMap, DeepZoomMap } from './maps/map.js'
|
||||
import { MapData, DeepZoomMapData } from './maps/mapdata.js'
|
||||
|
||||
window.MapData = MapData
|
||||
window.DeepZoomMapData = DeepZoomMapData
|
||||
|
||||
window.GeoMap = GeoMap
|
||||
window.ImageMap = ImageMap
|
||||
window.DeepZoomMap = DeepZoomMap
|
||||
|
||||
import Mercator from './maps/projections/mercator.js'
|
||||
import Robinson from './maps/projections/robinson.js'
|
||||
window.Projection = {
|
||||
Mercator,
|
||||
Robinson
|
||||
}
|
||||
|
||||
window.MapView = MapView
|
||||
|
||||
import MapApp from './maps/mapapp.js'
|
||||
|
||||
window.MapApp = MapApp
|
||||
|
||||
import { AdvancedScatterContainer, RigidContainer, CompactScatter, CoverScatter } from './maps/scatter.js'
|
||||
|
||||
window.AdvancedScatterContainer = AdvancedScatterContainer
|
||||
window.RigidContainer = RigidContainer
|
||||
window.CompactScatter = CompactScatter
|
||||
window.CoverScatter = CoverScatter
|
||||
|
||||
import { GeoLayer, MapLayer } from './maps/geolayer.js'
|
||||
window.GeoLayer = GeoLayer
|
||||
window.MapLayer = MapLayer
|
||||
|
||||
import { GeoGraphics, GeoPoint, GeoLine, GeoShape, GeoMultiShape } from './maps/geographics.js'
|
||||
|
||||
window.GeoGraphics = GeoGraphics
|
||||
window.GeoPoint = GeoPoint
|
||||
window.GeoLine = GeoLine
|
||||
window.GeoShape = GeoShape
|
||||
window.GeoMultiShape = GeoMultiShape
|
||||
|
||||
|
||||
import Overlay from "./maps/overlay.js"
|
||||
|
||||
window.Overlay = Overlay
|
||||
|
||||
Reference in New Issue
Block a user