Use module paths in example docs
This commit is contained in:
@@ -9,7 +9,7 @@ import OSM from '../src/ol/source/OSM.js';
|
||||
* Helper method for map-creation.
|
||||
*
|
||||
* @param {string} divId The id of the div for the map.
|
||||
* @return {ol.PluggableMap} The ol.Map instance.
|
||||
* @return {ol.PluggableMap} The map instance.
|
||||
*/
|
||||
function createMap(divId) {
|
||||
const source = new OSM();
|
||||
|
||||
Reference in New Issue
Block a user