# While implementing double click on the map, the map is zooming and moving up instead zooming at same

**URL:** <https://community.cesium.com/t/while-implementing-double-click-on-the-map-the-map-is-zooming-and-moving-up-instead-zooming-at-same/7746>\
**Category:** CesiumJS\
**Created:** [November 29, 2018, 10:23am UTC](https://community.cesium.com/t/while-implementing-double-click-on-the-map-the-map-is-zooming-and-moving-up-instead-zooming-at-same/7746 "2018-11-29T10:23:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amar\_reddy](https://avatars.discourse-cdn.com/v4/letter/a/b5ac83/32.png) [@amar\_reddy](https://community.cesium.com/u/amar_reddy)\
**Post date:** [November 29, 2018, 10:23am UTC](https://community.cesium.com/t/while-implementing-double-click-on-the-map-the-map-is-zooming-and-moving-up-instead-zooming-at-same/7746/1 "2018-11-29T10:23:58Z")

</div>

**1. A concise explanation of the problem you’re experiencing.**

We are implementing double click on the map to zoom. When we click on the map the map is zooming and moving upwards.

**2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.**

**3. Context. Why do you need to do this? We might know a better way to accomplish your goal.**

**4. The Cesium version you’re using, your operating system and browser.**

1.51, windows 7, Chrome

Struggling with this issue from past one week, can any one please help me

Thanks for the support.

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [December 3, 2018, 5:12pm UTC](https://community.cesium.com/t/while-implementing-double-click-on-the-map-the-map-is-zooming-and-moving-up-instead-zooming-at-same/7746/2 "2018-12-03T17:12:53Z")

</div>

Can you share a video or something of what you mean? When I double click on the map in CesiumJS in a default app it doesn’t move.

The camera tutorial talks a bit about manipulating the default behavior or turning off things like tilt/zoom:

> **[Documentation | cesium.com](https://cesium.com/docs/)**
>
> Cesium is geospatial. Use Cesium ion's simple workflow to create 3D maps of your geospatial data for visualization, analysis, and sharing. For developers, use the open-source CesiumJS library to create custom 3D mapping apps.

The file ScreenSpaceCameraController.js in Source/Scene handles most of the camera logic, so you can look through that as well to get a better idea of what’s going on.
