Ongoing cleanup and refactoring of maps.
This commit is contained in:
@@ -46,7 +46,7 @@
|
||||
]
|
||||
|
||||
function createApp(view) {
|
||||
let app = new MapApp({
|
||||
let app = window.GeoPointApp = new MapApp({
|
||||
view,
|
||||
focus: { x: 0, y: 0 },
|
||||
zoom: 1,
|
||||
@@ -70,11 +70,11 @@
|
||||
wikimedia
|
||||
], (sprites) => {
|
||||
|
||||
let osmMap = new ImageMap(sprites.get(osmworld), new MapData(new Projection.Mercator()), { cover: true })
|
||||
let osmMap = new ImageMap(sprites.get(osmworld), new MapData(new Projection.Mercator()), { cover: true, debug: true })
|
||||
|
||||
let wikimediaMap = new ImageMap(sprites.get(wikimedia), new MapData(new Projection.Robinson(10)), {
|
||||
baseZoomHeight: sprites.get(osmworld).texture.height,
|
||||
cover: true
|
||||
cover: true, debug: true
|
||||
})
|
||||
|
||||
app.addMaps({
|
||||
|
||||
Reference in New Issue
Block a user