@openglobus/og 0.25.0 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/README.md +10 -6
  2. package/lib/entity/EntityCollection.d.ts +2 -1
  3. package/lib/og.es.js +1 -1
  4. package/package.json +2 -3
  5. package/lib/res/fonts/Ephesis-Regular.json +0 -4648
  6. package/lib/res/fonts/Ephesis-Regular.ttf.cfg +0 -1282
  7. package/lib/res/fonts/Ephesis-Regular.ttf.png +0 -0
  8. package/lib/res/fonts/Karla-Bold.json +0 -5252
  9. package/lib/res/fonts/Karla-Bold.ttf.cfg +0 -920
  10. package/lib/res/fonts/Karla-Bold.ttf.png +0 -0
  11. package/lib/res/fonts/Karla-Light.json +0 -5252
  12. package/lib/res/fonts/Karla-Light.ttf.cfg +0 -830
  13. package/lib/res/fonts/Karla-Light.ttf.png +0 -0
  14. package/lib/res/fonts/Karla-Medium.json +0 -5252
  15. package/lib/res/fonts/Karla-Medium.ttf.cfg +0 -1196
  16. package/lib/res/fonts/Karla-Medium.ttf.png +0 -0
  17. package/lib/res/fonts/NotoSansArabic-Regular.json +0 -3332
  18. package/lib/res/fonts/NotoSansArabic-Regular.ttf.cfg +0 -1370
  19. package/lib/res/fonts/NotoSansArabic-Regular.ttf.png +0 -0
  20. package/lib/res/fonts/arial.js +0 -4325
  21. package/res/fonts/Ephesis-Regular.json +0 -4648
  22. package/res/fonts/Ephesis-Regular.ttf.cfg +0 -1282
  23. package/res/fonts/Ephesis-Regular.ttf.png +0 -0
  24. package/res/fonts/Karla-Bold.json +0 -5252
  25. package/res/fonts/Karla-Bold.ttf.cfg +0 -920
  26. package/res/fonts/Karla-Bold.ttf.png +0 -0
  27. package/res/fonts/Karla-Light.json +0 -5252
  28. package/res/fonts/Karla-Light.ttf.cfg +0 -830
  29. package/res/fonts/Karla-Light.ttf.png +0 -0
  30. package/res/fonts/Karla-Medium.json +0 -5252
  31. package/res/fonts/Karla-Medium.ttf.cfg +0 -1196
  32. package/res/fonts/Karla-Medium.ttf.png +0 -0
  33. package/res/fonts/NotoSansArabic-Regular.json +0 -3332
  34. package/res/fonts/NotoSansArabic-Regular.ttf.cfg +0 -1370
  35. package/res/fonts/NotoSansArabic-Regular.ttf.png +0 -0
  36. package/res/fonts/Roboto-Regular.json +0 -37147
  37. package/res/fonts/Roboto-Regular.ttf.cfg +0 -1340
  38. package/res/fonts/Roboto-Regular.ttf.png +0 -0
  39. package/res/fonts/arial.js +0 -4325
  40. package/res/fonts/arial.json +0 -4321
  41. package/res/fonts/arial.ttf.cfg +0 -1570
  42. package/res/fonts/arial.ttf.png +0 -0
  43. package/res/night-4326.png +0 -0
  44. package/res/night.png +0 -0
  45. package/res/spec.png +0 -0
package/README.md CHANGED
@@ -66,18 +66,16 @@ Run
66
66
  npm run build
67
67
  ```
68
68
 
69
- Then, it will generate 5 files at `lib/@openglobus/`:
69
+ Then, it will generate files at `lib/`:
70
70
 
71
- - og.umd.js
72
- - og.umd.js.map
73
- - og.esm.js
74
- - og.esm.js.map
71
+ - og.es.js
72
+ - og.es.js.map
75
73
  - og.css
76
74
  - ./res/...
77
75
 
78
76
  ### Run examples
79
77
 
80
- First, it starts by watching sources and building into ./lib folder esm module:
78
+ First, it starts by watching sources and building into ./lib folder es module:
81
79
 
82
80
  ```sh
83
81
  npm run dev
@@ -89,6 +87,12 @@ Second, runs local server, then you can browse 127.0.0.1:8080:
89
87
  npm run serve
90
88
  ```
91
89
 
90
+ or
91
+
92
+ ```sh
93
+ npm run dev_serve
94
+ ```
95
+
92
96
  Third, try an example from the sandbox:
93
97
 
94
98
  ```sh
@@ -264,7 +264,8 @@ declare class EntityCollection {
264
264
  * Creates or refresh collected entities picking color.
265
265
  * @public
266
266
  */
267
- createPickingColors(): void;
267
+ createPickingColors(entities?: Entity[]): void;
268
+ protected _setPickingColor(entity: Entity): void;
268
269
  /**
269
270
  * Refresh collected entities indexes from startIndex entities collection array position.
270
271
  * @public