<p dir="ltr">Umap has no support for wms layers at this moment. It only supports the backgrounds offered by the UI.<br></p>
<p dir="ltr">Regards</p>
<p dir="ltr">m</p>
<div class="gmail_quote">Op 8-jul.-2015 17:00 schreef "Alana Panny" <<a href="mailto:panny.alana@gmail.com">panny.alana@gmail.com</a>>:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>Hi Joost<br><br></div>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? <br><br></div>Kind regards<br></div>Alana Panny<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-08 14:21 GMT+02:00 joost schouppe <span dir="ltr"><<a href="mailto:joost.schouppe@gmail.com" target="_blank">joost.schouppe@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">If I understand what you mean, you can do this with umap: see this example <a href="http://umap.openstreetmap.fr/nl/map/an-example_46442" target="_blank">http://umap.openstreetmap.fr/nl/map/an-example_46442</a><div>Here you can zoom in on Gent, but not zoom out or move away from Gent.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-08 13:56 GMT+02:00 Marc Gemis <span dir="ltr"><<a href="mailto:marc.gemis@gmail.com" target="_blank">marc.gemis@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You can't do that with just a URL to the map on <a href="http://openstreetmap.org" target="_blank">openstreetmap.org</a>.<div><br></div><div>There are a number of JavaScript libraries out there that allow you to program such functionality.</div><div>See e.g. Mapbox.js from Mapbox [1], or the maxbounds option in the leaflet library [2]</div><div><br></div><div>regards</div><div><br></div><div>m</div><div><br></div><div>[1] <a href="https://www.mapbox.com/mapbox.js/example/v1.0.0/maxbounds/" target="_blank">https://www.mapbox.com/mapbox.js/example/v1.0.0/maxbounds/</a></div><div>[2] <a href="http://leafletjs.com/reference.html" target="_blank">http://leafletjs.com/reference.html</a></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Wed, Jul 8, 2015 at 1:47 PM, Alana Panny <span dir="ltr"><<a href="mailto:panny.alana@gmail.com" target="_blank">panny.alana@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div>Hi everyone<br><br></div><div>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. <br><br></div><div>Kind regards<span><font color="#888888"><br></font></span></div><span><font color="#888888"><div>Alana Panny<br></div></font></span></div>
<br></div></div>_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org" target="_blank">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Talk-be mailing list<br>
<a href="mailto:Talk-be@openstreetmap.org">Talk-be@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-be" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-be</a><br>
<br></blockquote></div>