[OpenLayers-Dev] displaying limited map
ismetbahadir at gmail.com
Wed May 9 03:05:30 EDT 2012
Thanks to all, i will try to find a working example. it is hard to find
solutions to your problems when there is limited source. and being new in
the field makes your job even harder. language is another problem and etc.
anyway, thanks again.
2012/5/9 Tim-Hinnerk Heuer <th.heuer at gmail.com>
> Strictly speaking this is not a topic for the dev list, I believe.
> However, have you tried to look at the maxExtent property in the OL Map
> class? If you just google for max extent or go to the OL examples pages you
> should find plenty of answers.
> Tim-Hinnerk Heuer
> Twitter: @geekdenz
> Blog: http://www.thheuer.com
> On Wed, May 9, 2012 at 6:41 PM, ismet bahadir <ismetbahadir at gmail.com>wrote:
>> hello all,
>> i am trying to display only a restricted (defined by me) part of the map
>> i have and i do not want the user to see any other location. i tried to
>> examine maxExtent and bbox but failed to make my code work.
>> in detail, i want to give my long-lat values (say, 26-45 lon; 36-42 lat),
>> limit the display only to this rectangle and avoid the user to display
>> other places fall apart of this rectangle.
>> kind regards,
>> - ismet
>> Dev mailing list
>> Dev at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev