When I zoom out to a world view, the map doesn't fill the width of the screen. Ideally I'd like it to repeat until the available space is filled. How can I do this?
When true, supports continuous pan across the dateline. Wraparound is supported in the following cases: Map spatial reference is WGS84 or Web MercatorThe tiling scheme is either the pre-9.3 ArcGIS Online (4326) tiling scheme or ArcGIS/Google Maps/ Bing tiling scheme.Dynamic services must be version 10 or greater. At version 3.1 the default value is true. For versions earlier than 3.1 the default value is false.
To my knowledge, this isn't possible in the Esri JS API. At the developer summit 2 years ago, Jeremy mentioned that they didn't like the way Google Maps shows "multiple worlds" and that Esri approached it differently. (As an aside, I just noticed that Google Maps is no longer showing "multiple worlds" either.)wraparound180 will mean that you can pan continuously east or west, but if you zoom out too far you'll see white space. A workaround is to prevent zooming out too far by specifying the Level of Details (LODs).
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.