diff --git a/lib/Map.js b/lib/Map.js index 182c910b..5969cf4e 100644 --- a/lib/Map.js +++ b/lib/Map.js @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import OLMap from 'ol/Map'; +import OLMap from 'ol/Map.js'; import {Component, createElement, createRef, forwardRef} from 'react'; import {any, func, node, object, oneOfType, shape, string} from 'prop-types'; import {render, updateInstanceFromProps} from '../renderer/render.js';