Closed addean closed 4 years ago
if i import ol-geocoder it will return Cannot read property 'control' of undefined and Geocoder is not defined. I user geocoder from here [https://github.com/jonataswalker/ol-geocoder]. I'm not using vue-cli, load vuelayers using cdn (https://github.com/jonataswalker/ol-geocoder)
Cannot read property 'control' of undefined
Geocoder is not defined
Hello @addean, do you find a solution for this issue? It looks like you you forget to add openlayers to the page.
if i import ol-geocoder it will return
Cannot read property 'control' of undefined
andGeocoder is not defined
. I user geocoder from here [https://github.com/jonataswalker/ol-geocoder]. I'm not using vue-cli, load vuelayers using cdn (https://github.com/jonataswalker/ol-geocoder)