I have a map displaying a feature overlaying the islands to the west of Alaska and when I extend the bounds, it is zooming way out to world view and repeating part of the feature on the other side of the map - I guess because it is so close to the border.

How do I prevent this? (I am thinking either by setting the max bounds or by shifting the IDL but I have no success withe either).

asked 18 Apr '11, 18:16

Denn's gravatar image

Denn
1111
accept rate: 0%


For all I can tell that is a bug in the rather simple way Openlayers calculates the bounding box. The best chances to get help with this is probably the openlayers mailinglist.

permanent link

answered 24 Apr '11, 09:31

petschge's gravatar image

petschge
8.0k207196
accept rate: 21%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×112
×8
×1

question asked: 18 Apr '11, 18:16

question was seen: 4,076 times

last updated: 24 Apr '11, 09:31

powered by OSQA