--
You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/d934254c-9758-4ae8-abb1-3745d087c110%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello Francesco,Well, the GeoAdmin API is using the Swiss projection, the old one LV03 (EPSG:21781) or the new one LV95 (EPSG:2056) depending on what version you are using.On the other side, OSM is generally base on the spherical Mercator (EPSG:3857) or simple WGS84 (EPSG:4326).What kind of data are you trying to display 3D raster or vector? Have you an example I may look at?Regards,Marc
Le lun. 3 juin 2019 à 17:07, francesco romeo <francesco...@gmail.com> a écrit :
I would like to place an OpenStreetMaps layer in my Map.--I tryed but i keep getting strange mistakes that i am not getting with Openlayers.Geoadmin API is based on Openlayers so i thought it would have been easy.I know I can have problems with the coordinate system, but i thought at least I would have been able to display the map.Is it possible?How can i do?
You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/d934254c-9758-4ae8-abb1-3745d087c110%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/a4317731-9922-4380-999a-02576d08b975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
import OSM from 'ol/source/OSM.js';
declare let ga;
declare let ol;
this.map = new ga.Map({ //creating the map
target: 'map-openlayers',
layers: [
new ol.layer.Tile({
source: new OSM()
})
],
view: new ol.View({...
Hello Francesco,
You could combine both sources using the spherical Mercator projection. For inspiration (ugly, but you get the idea):Regards,Marc
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/a4317731-9922-4380-999a-02576d08b975%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/fc052bbe-22aa-44d0-b42f-85f76ce44dcf%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/CAE7nro2r%2Bc%2BTuAPLpX1V5wNGxwb4Ky6CHnsrrdjNq2JkhEEHpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Hello Francesco,
The Geoadmin API is very old now and not updated anymore. It is base on OL3 (default) or OL4 (http://api3.geo.admin.ch/loader.js?version=4.4.2) for the latest.So, It is better to use pure OL. Besides that, I don't think OL4 has client-side reprojection (you can't mix sources of different projections)Regards,Marc
Le mar. 4 juin 2019 à 16:28, David Oesch <david...@gmail.com> a écrit :
Or you use the "import" function of map.geo.admin.ch to display osm via existing WMS/Wmts services egAnd use it as iframe in your website
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/fc052bbe-22aa-44d0-b42f-85f76ce44dcf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "GeoAdmin API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadm...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/CAE7nro2r%2Bc%2BTuAPLpX1V5wNGxwb4Ky6CHnsrrdjNq2JkhEEHpw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/dd46d23a-37f5-4b36-b5a5-cbab7fc9120b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Or you use the "import" function of map.geo.admin.ch to display osm via existing WMS/Wmts services egAnd use it as iframe in your website
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/97ec0e85-6297-4c31-92b6-9c52d04769b6%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/97ec0e85-6297-4c31-92b6-9c52d04769b6%40googlegroups.com.
Actually what u want is reorder the layer
If you reorder the layer also the permalink changes --- the “layers” parameter is key
It is all described in help.geo.admin.ch --- spend a minute reading and you will find almost everything , eg also the description on how to work with permalink https://help.geo.admin.ch/?id=54&lang=en wcih will also work in iframe
To unsubscribe from this group and stop receiving emails from it, send an email to
geoadmin-api...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/geoadmin-api/cf92acfa-03c5-464b-bf41-3a26f1e946a3%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to
geoadmin-api...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/geoadmin-api/deb0e7f1-22b6-42ca-87a0-870cc160fa45%40googlegroups.com.
Von: geoadm...@googlegroups.com <geoadm...@googlegroups.com> Im Auftrag von heir...@bluewin.ch
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/b8b8d108-64b5-4240-b903-cb7f0627fe14%40googlegroups.com.

and only the public transportation stops without the OSM layer are shown in the PDF. Will it be possible to print external data sets in the future?
Just updated the ticket with your feedback
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/b8b8d108-64b5-4240-b903-cb7f0627fe14%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to geoadmin-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/geoadmin-api/9b016e4e-ceb0-4ff9-a814-56f881ee6e8a%40googlegroups.com.