File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,24 @@ npm install ngx-openlayers --save
1212
1313Here is a "minimal" map example that fetches tiles from OpenStreetMap and center the map in Meylan (France):
1414
15+ in ` app.module.ts ` :
16+ ``` js
17+ ...
18+ import { AngularOpenlayersModule } from " ngx-openlayers" ;
19+ ...
20+
21+ @NgModule ({
22+ imports: [
23+ ...
24+ AngularOpenlayersModule
25+ ],
26+ ...
27+ bootstrap: [AppComponent]
28+ })
29+ export class AppModule { }
30+ ```
31+
32+ in ` app.component.html ` :
1533``` html
1634<aol-map [width] =" '500px'" [height] =" '300'" >
1735 <aol-view [zoom] =" 2" >
@@ -25,7 +43,7 @@ Here is a "minimal" map example that fetches tiles from OpenStreetMap and center
2543
2644## Documentation
2745
28- The API is documented in ` documentation/ `
46+ The API is documented in [ documentation] ( /documnetation )
2947
3048## Getting Help
3149
You can’t perform that action at this time.
0 commit comments