Hello,
Is it possible to change the map in Geomap? In our campus we have additional layers of openstreetmap it would be nice to Integer. see:
http://plan.epfl.ch/?zoom=20&recenter_y=5864085.12615&recenter_x=731...
thank you
On Tue, 12 May 2015 10:01:14 +0200 nicolas.biselx@epfl.ch wrote:
Is it possible to change the map in Geomap? In our campus we have additional layers of openstreetmap it would be nice to Integer.
Hi Nicolas,
There isn't currently a user-friendly way of inserting new map layers into Geomap, but it can be done. We have talked about making it easier to add custom layers, but it hasn't been a priority.
On our customer installations in Norway, we patch the geomap javascript module to include a selectable map layer from The Norwegian Mapping Authority, who provides an OpenLayers interface to their data.
We use the attached patch against the latest NAV version; you could probably work something out based on that :)
Le 12. 05. 15 14:34, Morten Brekkevold a écrit :
We use the attached patch against the latest NAV version; you could probably work something out based on that :)
Hi Morten,
I tried to apply the patch, but there are errors, see attached files. I use the version 4.2.6
Have I missed some things thank you for your help
Biselx Nicolas
Hello, It's ok, the problem was retrieving information from the plan. I added:
var epflcart_attribution ='<a href="http://plan.epfl.ch">Plan</a>'; var epflcartLayer; var epflcartLayer = new OpenLayers.Layer.XYZ("Plan EPFL","http://plan-osm-tile0.epfl.ch/$%7Bz%7D/$%7Bx%7D/$%7By%7D.png", {isBaseLayer: true, sphericalMercator: true, attribution: epflcart_attribution }); themap.addLayer(epflcartLayer);
Thank you very much
Biselx Nicolas
Le 12. 05. 15 14:34, Morten Brekkevold a écrit :
On Tue, 12 May 2015 10:01:14 +0200 nicolas.biselx@epfl.ch wrote:
Is it possible to change the map in Geomap? In our campus we have additional layers of openstreetmap it would be nice to Integer.
Hi Nicolas,
There isn't currently a user-friendly way of inserting new map layers into Geomap, but it can be done. We have talked about making it easier to add custom layers, but it hasn't been a priority.
On our customer installations in Norway, we patch the geomap javascript module to include a selectable map layer from The Norwegian Mapping Authority, who provides an OpenLayers interface to their data.
We use the attached patch against the latest NAV version; you could probably work something out based on that :)
On Wed, 27 May 2015 10:55:25 +0200 Biselx Nicolas nicolas.biselx@epfl.ch wrote:
It's ok, the problem was retrieving information from the plan. I added:
[...snip...]
Thank you very much
Sorry I didn't respond sooner, but glad to hear you got it working!