Leaflet / Leaflet.VectorGrid

Display gridded vector data (sliced GeoJSON or protobuf vector tiles) in Leaflet 1.0.0
593 stars 192 forks source link

can`t get lng of point by using L.vectorGrid.protobuf #191

Closed k2etrookie closed 5 years ago

k2etrookie commented 5 years ago

hi guys! while using L.vectorGrid.protobuf to render some points in my program, after click the point to open popup.this bug comes out: ' Cannot read property 'lng' of undefined' . Ive already read #168 #148 #157 and try to set 'layer.getLatLng = null;' but it didnt work as well. how could I change the circlemarker into point?

k2etrookie commented 5 years ago

this issue was closed! thanks to @chriszrc and @perliedman; thank you so much .this issue already cost me 1week . thanks again!!!

157