Created
March 20, 2018 22:15
-
-
Save ToeJamson/743323508ef22da16bfe6033bc030490 to your computer and use it in GitHub Desktop.
location
This file contains hidden or 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
var redraw = function(payload) { | |
lat = payload.message.lat; | |
lng = payload.message.lng; | |
map.setCenter({lat:lat, lng:lng, alt:0}); | |
mark.setPosition({lat:lat, lng:lng, alt:0}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment