[OSM-talk-be] Question: Showing a part of the map

2015-07-08 Thread Alana Panny
Hi everyone I have a question about showing a part of the map. Is it possible to only show a part of the map. And is it also possible to not go out of the map when zooming out? Last question: is their a way to cache the part of the map. Kind regards Alana Panny

Re: [OSM-talk-be] Question: Showing a part of the map

2015-07-08 Thread joost schouppe
If I understand what you mean, you can do this with umap: see this example http://umap.openstreetmap.fr/nl/map/an-example_46442 Here you can zoom in on Gent, but not zoom out or move away from Gent. 2015-07-08 13:56 GMT+02:00 Marc Gemis marc.ge...@gmail.com: You can't do that with just a URL to

Re: [OSM-talk-be] Question: Showing a part of the map

2015-07-08 Thread Alana Panny
Hi Joost You were of great help to us! But we have another question, we had another problem: adding WMS as a base layer. Do you have any experience with this? Kind regards Alana Panny 2015-07-08 14:21 GMT+02:00 joost schouppe joost.schou...@gmail.com: If I understand what you mean, you can do

Re: [OSM-talk-be] Question: Showing a part of the map

2015-07-08 Thread Marc Gemis
As André already indicated, all those Javascript libraries support WMS: OpenLayers: http://dev.openlayers.org/examples/lite.html Mapbox.js: https://www.mapbox.com/mapbox.js/example/v1.0.0/wms/ Leaflet: http://leafletjs.com/reference.html#tilelayer-wms All examples/documentation were found with a

Re: [OSM-talk-be] Question: Showing a part of the map

2015-07-08 Thread Marc Gemis
Umap has no support for wms layers at this moment. It only supports the backgrounds offered by the UI. Regards m Op 8-jul.-2015 17:00 schreef Alana Panny panny.al...@gmail.com: Hi Joost You were of great help to us! But we have another question, we had another problem: adding WMS as a base