Deprecation: The classic files of the map libraries
Description
The partner map no longer loads these files, see Important: The partner map loads its libraries as modules:
Resources/Public/ Java Script/ leaflet. js Resources/Public/ Java Script/ marker Cluster. js Resources/Public/ Css/ leaflet. css Resources/Public/ Css/ marker Cluster. css Resources/Public/ Css/ images/
They stay where they are, unchanged, for a project that loads them from its own template or script. They are removed in version 4.0.
Impact
Nothing is logged. A project that references one of the files keeps working until 4.0.
Migration
Import leaflet and leaflet. in a module, and register the
stylesheets from
EXT:,
as Partials/ does. A script that needs the global of the
classic files can publish a copy of the module, which unlike the module itself
can take the members a classic plugin adds:
import * as leaflet from 'leaflet'; window..
The marker images of Resources/ are the map's own
marker icon, and the map now loads them from
Resources/.