Comments (7)
Responding to myself,
npm install --save @types/openlayers
from ngx-openlayers.
'''npm install''' without argument install all dependencies, including those listed as devDependencies. I've looked at '''package.json''' and it does list '''@types/openlayers'''. Weird that you had to manually issue an '''npm install''' command.
from ngx-openlayers.
sorry, when I sayd "responding to me" and closing the issue I mean that is solved :)
from ngx-openlayers.
Hey @lautarobock, the thing is the way you solved the issue should not make a difference, actually.
the npm install
command should have installed this package already. The command that you report as solution is redundant, hence my comment.
Anyways, as you said, it's solved, so great! Happy coding with angular2-openlayers!
from ngx-openlayers.
hey @quentin-ol doing npm install angular2-openlayers
should install openlayers
and `@types/openlayers' too?
not in my case
from ngx-openlayers.
@quentin-ol I just had the exact same problem. After installing angular2-openlayers via npm I had to install openlayers (not sure if this helped solving the problem) and @types/openlayers. The last install of @types/openlayers definently solved the problem.
from ngx-openlayers.
This also solves my problem mentioned in #81
from ngx-openlayers.
Related Issues (20)
- Getting error "e.isDef is not a function" when integrating ol-cesium HOT 2
- Map not working HOT 1
- ⚠️ Migration OL5 and next release steps ⚠️ HOT 2
- Warnings in console about OL objects
- next version with OL5 and definitely typed has compile errors
- Ngx-openlayers is extremely slow HOT 1
- Point with altitude with ol-cesium
- cluster preformance HOT 1
- How to show current geolocation HOT 1
- Vulnerabilities reported by npm audit HOT 1
- Angular 9 >> ERROR in Symbol MapComponent declared in...is not exported from..../ngx-openlayers/dist/index.js HOT 8
- Mouse issue on next build HOT 6
- How to access the OpenLayers API? HOT 3
- Custom openlayers loader function HOT 2
- not work in Angular 9 HOT 2
- feat: Angular 10 Support HOT 4
- How to capture a mouse over event on a <aol-feature> with OpenLayer HOT 3
- <aol-overlay> can't getPosition HOT 3
- Why did you stop supporting? HOT 2
- The map is not showing inside a modal HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-openlayers.