Chicago / opengrid

A user-friendly, map-based tool to combine and explore real-time or historical data.
http://opengrid.io
Other
247 stars 53 forks source link

Searches near 'Me' and 'marker' are not working #257

Closed rladines closed 7 years ago

rladines commented 7 years ago

report by @reve0716: searches using Location of Near "Me" and "marker" are getting an error "Cannot read property 'layerPointToLatLng' of undefined"

[priya]: this is happening in WG>INT environment

rladines commented 7 years ago

After researching on this, it was found that this is due to a reported issue with Leaflet 1.0, Leaflet/Leaflet#4978; will look into an alternative solution to get the geometry of the marker bounds

PriyaDoIT commented 7 years ago

related to #255

rladines commented 7 years ago

Was able to workaround the Leaflet issue by overriding the L.Circle behavior with 0.7.3's which was proven to work with our code. Will apply any future Leaflet patch later once this is fixed in their repo.

Read for re-test.

PriyaDoIT commented 7 years ago

Tested this issue on INT using both Marker and Around Me. Passed.

reve0716 commented 7 years ago

I completed the testing for markers and near me - Its a Go

rladines commented 7 years ago

Closing based on comments from @PriyaDoIT and @reve0716