Sha256: 3565d932d63d6e2f5be34f70070ea1a75476652bb783a5a93967381d801c54fa

Contents?: true

Size: 658 Bytes

Versions: 480

Compression:

Stored size: 658 Bytes

Contents

import colors from '../tokens/exports/_colors.module.scss'

const mapTheme = {
    marker : colors.primary_action,
    maptiles: 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json',
    flyToConfig: {
        zoom: 13,
        bearing: 0,
        curve: 1.42, // change the speed at which it zooms
               easing: function (t: any) {
                return t;
                },
        essential: true
    },
    zoomConfig: { duration:1000 },
    mapConfig: {
            style: 'https://basemaps.cartocdn.com/gl/positron-gl-style/style.json',
            zoom: 13,
            attributionControl: false,
    }
}

export default mapTheme

Version data entries

480 entries across 480 versions & 1 rubygems

Version Path
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5201 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.9 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5200 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.8 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.7 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.6 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.5 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.10.0.pre.alpha.play1662cssbargraph5193 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.4 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.3 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.10.0.pre.alpha.PBNTR662stickyrightcolumnreact5160 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.2 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.1 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.10.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5137 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.11.0.pre.rc.0 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.9.0.pre.alpha.PBNTR767advancedtablemultiheadercolumns5136 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5121 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.9.0.pre.alpha.PBNTR775formmatingmaskdefaultvalue5120 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.10.0 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.10.0.pre.rc.24 app/pb_kits/playbook/pb_map/pbMapTheme.ts