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-13.32.0.pre.alpha.PLAY14143260 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-13.32.0.pre.alpha.PLAY14143255 app/pb_kits/playbook/pb_map/pbMapTheme.ts
playbook_ui-13.32.0.pre.alpha.PLAY14143251 app/pb_kits/playbook/pb_map/pbMapTheme.ts