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

Function getTypeSpan

static/js/map.js:300–302  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

298}
299
300function getTypeSpan (type) {
301 return `<span style='padding: 2px 5px; text-transform: uppercase; color: white; margin-right: 2px; border-radius: 4px; font-size: 0.8em; vertical-align: text-bottom; background-color: ${type['color']}'>${type['type']}</span>`
302}
303
304function openMapDirections (lat, lng) { // eslint-disable-line no-unused-vars
305 var myLocation = locationMarker.getPosition()

Callers 1

pokemonLabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected