@igo2/geo 1.15.2 → 1.15.3
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.
package/fesm2020/igo2-geo.mjs
CHANGED
|
@@ -12317,7 +12317,7 @@ class SearchSource {
|
|
|
12317
12317
|
* @param hashtag hashtag from query
|
|
12318
12318
|
*/
|
|
12319
12319
|
getHashtagsValid(term, settingsName) {
|
|
12320
|
-
const hashtags = term.match(/(#[A-Za-z
|
|
12320
|
+
const hashtags = term.match(/(#[A-Za-zÀ-ÿ-+]+)/g);
|
|
12321
12321
|
if (!hashtags) {
|
|
12322
12322
|
return undefined;
|
|
12323
12323
|
}
|
|
@@ -20991,7 +20991,7 @@ class DrawComponent {
|
|
|
20991
20991
|
zIndex: 200,
|
|
20992
20992
|
source: new FeatureDataSource(),
|
|
20993
20993
|
style: (feature, resolution) => {
|
|
20994
|
-
return this.drawStyleService.createIndividualElementStyle(feature, resolution, this.labelsAreShown, feature.get('fontStyle'), feature.get('drawingStyle').fill, feature.get('drawingStyle').stroke, feature.get('offsetX'), feature.get('offsetY'), this.icon);
|
|
20994
|
+
return this.drawStyleService.createIndividualElementStyle(feature, resolution, this.labelsAreShown, feature.get('fontStyle'), feature.get('drawingStyle').fill, feature.get('drawingStyle').stroke, feature.get('offsetX'), feature.get('offsetY'), this.map.projection, this.icon);
|
|
20995
20995
|
},
|
|
20996
20996
|
showInLayerList: true,
|
|
20997
20997
|
exportable: true,
|
|
@@ -21320,7 +21320,7 @@ class DrawComponent {
|
|
|
21320
21320
|
elementStyle(labelsAreShown, isAnIcon) {
|
|
21321
21321
|
if (isAnIcon) {
|
|
21322
21322
|
this.activeStore.layer.ol.setStyle((feature, resolution) => {
|
|
21323
|
-
return this.drawStyleService.createIndividualElementStyle(feature, resolution, labelsAreShown, feature.get('fontStyle'), feature.get('drawingStyle').fill, feature.get('drawingStyle').stroke, feature.get('offsetX'), feature.get('offsetY'), this.icon);
|
|
21323
|
+
return this.drawStyleService.createIndividualElementStyle(feature, resolution, labelsAreShown, feature.get('fontStyle'), feature.get('drawingStyle').fill, feature.get('drawingStyle').stroke, feature.get('offsetX'), feature.get('offsetY'), this.map.projection, this.icon);
|
|
21324
21324
|
});
|
|
21325
21325
|
}
|
|
21326
21326
|
else {
|