Hi
I have a problem to show the
geo.admin.ch "swisstopo.image" layers in a ionic mobile App. In the web emulator it shows the map but not on the mobile Device.
This is my code to create the map, I declare the ol and ga in my constructur. No error occurs while building or clicking on the map.
this.map = new this.ol.Map({
view: new this.ol.View({
resolution: 3,
center: [2602788.1488876604, 1204948.8879736636],
projection: "EPSG:2056"
}),
layers: [
this.ga.layer.create('ch.swisstopo.swissimage', {name: 'aerealMapLayer'}),
],
target: 'map'
I have already search in this forum for other solutions but nothing worked for me. Do you have any advise?
Thanks
Ellen