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 :)