Need help with ngx-openlayers?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

quentin-ol
131 Stars 96 Forks Mozilla Public License 2.0 256 Commits 68 Opened issues

Description

Angular2+ components for Openlayers 4.x

Services available

!
?

Need anything else?

Contributors list

ngx-openlayers Build StatusJoin the chat at https://gitter.im/ngx-openlayers

Installation

To install this library, run:

npm install ngx-openlayers --save

Example

Here is a "minimal" map example that fetches tiles from OpenStreetMap and center the map in Meylan (France):

in

app.module.ts
: ```js ... import { AngularOpenlayersModule } from "ngx-openlayers"; ...

@NgModule({ imports: [ ... AngularOpenlayersModule ], ... bootstrap: [AppComponent] }) export class AppModule { } ```

in

app.component.html
:
html

    
        
    
    
        
    

Documentation

The API is documented in documentation

Getting Help

Join us at our Gitter: https://gitter.im/ngx-openlayers

Development

To generate all

*.js
,
*.js.map
and
*.d.ts
files:
npm run ngc

To lint all

*.ts
files:
npm run lint

Live example (reload on code changes):

npm install -g @angular/cli
cd example
npm install
ng serve

Live example will be viewable at locahost:4200

Contributing

  1. Fork it!
  2. Create your feature branch:
    git checkout -b my-new-feature
  3. Commit your changes:
    git commit -am 'Add some feature'
  4. Push to the branch:
    git push origin my-new-feature
  5. Submit a pull request and enjoy! :D

License

MPL-2.0 - Quentin Lampin [email protected] Copyright 2017 Orange

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.