Created
April 20, 2020 06:55
-
-
Save blaurt/3b945651b91644126be9909f5a2f44d2 to your computer and use it in GitHub Desktop.
map & pointer containers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const pointersContainer = document.querySelector("#pointers-container"); | |
const mapImage = document.querySelector(".map img"); | |
const mapWidth = mapImage.clientWidth; | |
const mapHeight = mapImage.clientHeight; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment