1import * as gmap from './google-map.js' 2import * as wmap from './woosmap.js' 3 4let mapFunctions = {}; 5 6const mapTypes = { 7 "google_maps": gmap, 8 "woosmap": { 9 ...gmap, 10 mapsIsDeclared: wmap.mapsIsDeclared, 11 mapsGetApiURI: wmap.mapsGetApiURI, 12 mapsLatLng: wmap.mapsLatLng, 13 mapsAutocomplete: wmap.mapsAutocomplete, 14 mapsGeoCoder: wmap.mapsGeoCoder, 15 initWoosmapLocalities: wmap.initWoosmapLocalities, 16 mapsDistanceMatrix: wmap.mapsDistanceMatrix, 17 } 18}; 19 20mapFunctions = mapTypes[drupalSettings.enable_maps]; 21 22export {mapFunctions}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.