WazeDev / WME_Wide-Angle_Lens

4 stars 6 forks source link

New Filter: Undefined Street #38

Closed Voludu2 closed 4 years ago

Voludu2 commented 4 years ago

Filter by (typeof W.model.streets.objects[venue.attributes.streetID] === 'undefined' ) This commonly happens when the associated cityId is eliminated as a result of a city form Delete or Merge.

(In many cases, the street name can be recovered using https://${window.location.host}/SearchServer/mozi?lon=${venuePtLatLon.x}&lat=${venuePtLatLon.y}&format=PROTO_JSON_FULL&venue_id=venues.${venue.attributes.id}; the fix could be built into other scripts)