MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / updateLocationMarker

Function updateLocationMarker

static/js/map.js:155–161  ·  view source on GitHub ↗
(style)

Source from the content-addressed store, hash-verified

153}
154
155function updateLocationMarker (style) {
156 if (style in searchMarkerStyles) {
157 locationMarker.setIcon(searchMarkerStyles[style].icon)
158 Store.set('locationMarkerStyle', style)
159 }
160 return locationMarker
161}
162
163function createLocationMarker () {
164 var position = Store.get('followMyLocationPosition')

Callers 1

map.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected