<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2015-07-08 16:59, Alana Panny wrote
:<br>
</div>
<blockquote
cite="mid:CAFzJ84AXwMBkw8Ee0fEwOfbOoEYkZbzg-vXdS3+yiu+avWhxmg@mail.gmail.com"
type="cite">
<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>
</div>
</div>
</div>
</blockquote>
Yep Alana, Openlayers can use a WMS layer and more.<br>
And it most probably can have bounds too.<br>
<a
href="http://www.papou.byethost9.com/maps/OpenLayers_Vector_full.html">This
is an example I made</a> to show how simple Openayers can be.<br>
I did not code WMS support, but it's just a small function to add
like newGPX(name, URL) for a GPX layer.<br>
For not zooming, just comment out the controls that zoom <span
class="moz-smiley-s3"><span> ;-) </span></span><br>
<br>
Enjoy,<br>
<br>
<table>
<tbody>
<tr>
<td>André.</td>
</tr>
</tbody>
</table>
<br>
<blockquote
cite="mid:CAFzJ84AXwMBkw8Ee0fEwOfbOoEYkZbzg-vXdS3+yiu+avWhxmg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div><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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 class="HOEnZb">
<div class="h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-07-08 13:56 GMT+02:00
Marc Gemis <span dir="ltr"><<a
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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
moz-do-not-send="true"
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>
</blockquote>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</body>
</html>