This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Show only an area using Openlayers and OSM

0

I found this Question https://stackoverflow.com/questions/28117281/show-only-united-states-when-using-leaflet-js-and-osm which is exactly what I'm looking for but the problem is I don't use leaflet. Currently using OpenLayers at the moment, saw some example here but no luck any ideas?

asked 04 Mar '18, 15:46

Rabaton's gravatar image

Rabaton
11223
accept rate: 0%

edited 04 Mar '18, 20:18

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

okay, what what is your question? what do you want to do with openlayers? Please describe here.

(04 Mar '18, 20:17) aseerel4c26 ♦

Source code available on GitHub .