File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ export abstract class BaseVectorTileLayer<T extends com.carto.layers.VectorTileL
114
114
position = projection . fromWgs84 ( dataSourceProjection . toWgs84 ( position ) ) ;
115
115
}
116
116
const geoFeature = {
117
+ feature,
117
118
id : info . getFeatureId ( ) ,
118
119
layer : info . getFeatureLayerName ( ) ,
119
120
_nativeGeometry : geometry ,
@@ -127,7 +128,7 @@ export abstract class BaseVectorTileLayer<T extends com.carto.layers.VectorTileL
127
128
return this . _parsedGeometry ;
128
129
} ,
129
130
get _properties ( ) {
130
- return info . getFeature ( ) . getProperties ( ) . toString ( ) ;
131
+ return feature . getProperties ( ) . toString ( ) ;
131
132
} ,
132
133
get properties ( ) {
133
134
if ( ! this . _parsedProperties ) {
Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ export class NTVectorTileEventListenerImpl extends NTVectorTileEventListener {
117
117
position = projection . fromWgs84 ( dataSourceProjection . toWgs84 ( position ) ) ;
118
118
}
119
119
const geoFeature = {
120
+ feature,
120
121
id : info . getFeatureId ( ) ,
121
122
layer : info . getFeatureLayerName ( ) ,
122
123
_nativeGeometry : geometry ,
You can’t perform that action at this time.
0 commit comments