Comments (8)
@alienlike My pleasure to help! As for the "vision" of the project, all opinions are welcome (encouraged even). Confronting ideas and proposals is always the best way forward so don't censor yourself, push PRs and let's find ways to get those features in the library!
Thanks again!
from ngx-openlayers.
Do you get the exact line number of the unexpected token?
Also give some more information on how to reproduce this issue:
- Are you using the provided cli example in the code
- Are you using your own example, if yes, how are you importing the library
- Are you using AOT
from ngx-openlayers.
Currently trying to get the example running but have not been successful due to #30.
from ngx-openlayers.
The exception occurs on line number 1 of dist/index.js
, which is bundled into vendor.js
with Webpack. I am not using AOT.
I'm importing as follows:
import { AngularOpenlayersModule } from 'angular2-openlayers';
in my moduleimport { MapComponent, ViewComponent, LayerVectorComponent } from 'angular2-openlayers';
in my component
from ngx-openlayers.
@quentin-ol, @FallenRiteMonk Thanks for helping me out. I'm developing two apps concurrently, both using Angular 2 and OpenLayers. One is a fairly trivial map-based app, the other a significant effort that will be developed over a few years and eventually see thousands of users. I'm submitting PRs as I need new features, and will try to conform them to your vision for this project. I'm new to the entire stack (including OpenLayers), so I appreciate your help and patience. Hopefully as I learn more I can be an asset to the project.
from ngx-openlayers.
If I remove the line "module": "es2015"
from tsconfig.json
, the issue goes away.
Per https://www.typescriptlang.org/docs/handbook/compiler-options.html, module values "ES6" or "ES2015" may not be used in tandem with target "ES5".
from ngx-openlayers.
update: Investigating this next week.
from ngx-openlayers.
should be fixed with 0.5.0
from ngx-openlayers.
Related Issues (20)
- ⚠️ 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
- Update HOT 1
- Update to Angular 16 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.