# MyLocation button

**URL:** <https://community.cesium.com/t/mylocation-button/14264>\
**Category:** CesiumJS\
**Created:** [July 1, 2021, 12:12am UTC](https://community.cesium.com/t/mylocation-button/14264 "2021-07-01T00:12:13Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [July 1, 2021, 4:49pm UTC](https://community.cesium.com/t/mylocation-button/14264/2 "2021-07-01T16:49:44Z")

</div>

@cloudatlas

Great question! [This post](https://community.cesium.com/t/how-to-get-current-location/10683/2) suggests that you can use the [browser’s geolocation API](https://www.w3schools.com/html/html5_geolocation.asp) to get a users location. However, we currently do not have a “MyLocation” feature in [our API](https://cesium.com/docs/cesiumjs-ref-doc/).

-Sam

---

_[View the full topic](https://community.cesium.com/t/mylocation-button/14264)._
