MCPcopy Index your code
hub / github.com/plotly/plotly.js / convertStyleVal

Function convertStyleVal

src/plots/map/map.js:806–808  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

804
805// if style is part of the 'official' map values, add URL prefix and suffix
806function convertStyleVal(val) {
807 return constants.styleUrlPrefix + val + '-' + constants.styleUrlSuffix;
808}
809
810function convertCenter(center) {
811 return [center.lon, center.lat];

Callers 1

getStyleObjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…