ol-geocoder icon indicating copy to clipboard operation
ol-geocoder copied to clipboard

Some 404 errors, unable to access content

Open thomasdowding opened this issue 5 years ago • 0 comments

Sorry if this is a beginner question!

Created basic page with standard OpenLayers setup. Added this plugin, tested using both CDN links. Plugin is somewhat functional (no markers or popups, but still zooms to correct location). Following errors in console:

DevTools failed to load SourceMap: Could not load content for https://unpkg.com/ol-geocoder.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

(The next two happen after zooming to the address)

GET file://cdn.rawgit.com/jonataswalker/map-utils/master/images/marker.png net::ERR_FILE_NOT_FOUND

Uncaught ReferenceError: content is not defined at e. (main.js:31) at e.dispatchEvent (Target.js:114) at nt.chosen (ol-geocoder:7) at HTMLLIElement. (ol-geocoder:7)

(main.js is my own file, which has a reference to content, based only on the code provided in README).

I tried downloading the plugin myself, but couldn't find any files named "ol-geocoder.js.map".

thomasdowding avatar Mar 07 '21 17:03 thomasdowding