# Infinite horizontal scrolling in 2D

**URL:** <https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739>\
**Category:** CesiumJS\
**Created:** [February 19, 2016, 9:28pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739 "2016-02-19T21:28:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_Bagnell](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@Dan\_Bagnell](https://community.cesium.com/u/Dan_Bagnell)\
**Post date:** [February 19, 2016, 9:28pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/1 "2016-02-19T21:28:42Z")

</div>

Hi Everyone,

I’m adding infinite horizontal scrolling in 2D. See [here](https://twitter.com/CesiumJS/status/700782941832617984) for a video demo.

Does anyone use the middle mouse drag or, when following an entity, the left mouse drag to rotate the map in 2D? Does anyone use code to change the camera orientation in 2D? If so, what is your use case?

Thanks,

Dan

---

<div class="post-metadata">

**Author:** ![Dan\_Bagnell](https://avatars.discourse-cdn.com/v4/letter/d/ba9def/32.png) [@Dan\_Bagnell](https://community.cesium.com/u/Dan_Bagnell)\
**Post date:** [February 23, 2016, 4:45pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/2 "2016-02-23T16:45:14Z")

</div>

Just in case it wasn’t clear in my original post, I plan to remove the ability to rotate the map in the 1.19 release.

---

<div class="post-metadata">

**Author:** ![ben.sapp](https://avatars.discourse-cdn.com/v4/letter/b/fbc32d/32.png) [@ben.sapp](https://community.cesium.com/u/ben.sapp)\
**Post date:** [March 2, 2016, 3:55pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/3 "2016-03-02T15:55:48Z")

</div>

Was this implemented in 1.19? I didn't see it in the release notes or when I tried the new release but was very excited about this feature.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [March 2, 2016, 4:22pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/4 "2016-03-02T16:22:05Z")

</div>

Hello,

It wasn’t quite ready to make it into this release, but it should be finished by 1.20.  
You can keep an eye on this pull request to see when it gets merged in: [https://github.com/AnalyticalGraphicsInc/cesium/pull/3621](https://github.com/AnalyticalGraphicsInc/cesium/pull/3621)

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![Kirk](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@Kirk](https://community.cesium.com/u/Kirk)\
**Post date:** [April 15, 2016, 5:35pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/5 "2016-04-15T17:35:56Z")

</div>

Is there a way to toggle this functionality off? It appears to be a little glitchy, at least in my instance.

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [April 15, 2016, 7:43pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/6 "2016-04-15T19:43:52Z")

</div>

Sorry, there isn’t way to toggle this off. What problems are you seeing? If there are bugs, we would like to fix them.

Thanks!

-Hannah

---

<div class="post-metadata">

**Author:** ![Kirk](https://avatars.discourse-cdn.com/v4/letter/k/f9ae1b/32.png) [@Kirk](https://community.cesium.com/u/Kirk)\
**Post date:** [April 15, 2016, 11:34pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/7 "2016-04-15T23:34:51Z")

</div>

Thanks for the quick reply! It appears that the problem is with older versions of Firefox. I was experiencing problems on FF 24, but when I used FF 32 it performed great. I didn't see any errors in Firebug, so I'm not sure what the problem was.

---

<div class="post-metadata">

**Author:** ![Jerrold\_Stoy](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/jerrold_stoy/32/3777_2.png) [@Jerrold\_Stoy](https://community.cesium.com/u/Jerrold_Stoy)\
**Post date:** [April 18, 2016, 3:07pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/8 "2016-04-18T15:07:35Z")

</div>

David,

Just upgraded to version 20. It look great!, are you planning on supporting infinite scrolling in Columbus view in the future?

Thanks

J. Stoy

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [April 19, 2016, 2:08pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/9 "2016-04-19T14:08:22Z")

</div>

Hello,

Glad you hear you like the 2D view! Adding infinite scrolling to columbus view is a little more complicated, and we probably won’t be adding that in the near future. Most of our efforts right now are going towards implementing 3D tiles to speed up dataset visualization. However, I imagine this is something we will come back to eventually.

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![fgamezc](https://avatars.discourse-cdn.com/v4/letter/f/9e8a1a/32.png) [@fgamezc](https://community.cesium.com/u/fgamezc)\
**Post date:** [April 19, 2016, 2:36pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/10 "2016-04-19T14:36:04Z")

</div>

Hi Daniel.

If infinite horizonal scrolling is incompatible with 2D map rotation, I think it should be possible to choose between them.

Thanks,  
Francisco

---

<div class="post-metadata">

**Author:** ![daniel.santillan](https://avatars.discourse-cdn.com/v4/letter/d/ed8c4c/32.png) [@daniel.santillan](https://community.cesium.com/u/daniel.santillan)\
**Post date:** [May 2, 2016, 6:00pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/11 "2016-05-02T18:00:36Z")

</div>

Hello!

although i find the feature great, i kind of also think a configuration option is not a bad idea, there are some use cases where rotation make more sense, just thinking out loud if you want something like a "minimap" of what you are seeing in 3d or things like that.

Apart from that it seems there are some issues with internet explorer 11 (at least in version 20 (did not get to try 21, were there some updates related to this?).  
It seems one "image" of the map moves in the oppsite direction of the next "image" when scrolling.

Another issue is it fits the zoom level to the width of the map not being able to display both poles at the same time (zoom out) using a normal 16:9 screen. Is there a way to change this behavior?

Thanks for all the great work,  
Daniel

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [May 3, 2016, 3:38pm UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/12 "2016-05-03T15:38:41Z")

</div>

Hello Daniel,

Thanks for reporting the scrolling bug in internet explorer. I’ve filed an issue on our GitHub here: [https://github.com/AnalyticalGraphicsInc/cesium/issues/3893](https://github.com/AnalyticalGraphicsInc/cesium/issues/3893)

We’ll try to address that soon.

Best,

Hannah

---

<div class="post-metadata">

**Author:** ![hannah](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/hannah/32/4509_2.png) [@hannah](https://community.cesium.com/u/hannah)\
**Post date:** [June 2, 2016, 3:03am UTC](https://community.cesium.com/t/infinite-horizontal-scrolling-in-2d/3739/13 "2016-06-02T03:03:44Z")

</div>

Hello Francisco,

An option to enable 2D map rotation was just added and will be available in the Cesium 1.23 release coming out on July 1st. You can see this pull request for details: [https://github.com/AnalyticalGraphicsInc/cesium/pull/3990](https://github.com/AnalyticalGraphicsInc/cesium/pull/3990)

Best,

Hannah
