Sha256: 3565d932d63d6e2f5be34f70070ea1a75476652bb783a5a93967381d801c54fa

Contents?: true

Size: 658 Bytes

Versions: 483

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

483 entries across 483 versions & 1 rubygems

Version Path
playbook_ui-14.5.0.pre.rc.5 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.5.0.pre.rc.4 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.5.0.pre.rc.3 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.5.0.pre.rc.2 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.PBNTR490multilevelselect3832 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.PLAY1546highchartsbump3831 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.dependabotnpmandyarntiptapextensionparagraph2723830 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.dependabotnpmandyarntiptapextensionlink2723828 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.5.0.pre.rc.1 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.pbntr523enablekitsforradiofix3826 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.pbntr523enablekitsforradiofix3825 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.PLAY1546highchartsbump3822 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.alpha.PLAY1562highchartsbump3819 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.5.0.pre.rc.0 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.3.2.pre.alpha.pbntr523enablekitsforradiofix3809 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.rc.16 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.rc.15 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.4.0.pre.rc.14 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-14.3.2.pre.alpha.PBNTR417addcolorsupdatedefaultcolor3791 app/pb_kits/playbook/pb_map/pbMapTheme.ts