CityOfPhiladelphia / mapboard

This repo is deprecated. mapboard is no longer used for atlas.phila.gov and cityatlas.phila.gov
29 stars 9 forks source link

Handle null target geom in EsriClient #130

Closed bertday closed 6 years ago

bertday commented 6 years ago

Related to this issue in the Atlas repo.

Example: 58 HAMILTON CIR

When you click on the map and no DOR parcels are identified, the targetGeom getter for regmaps in Atlas/CityAtlas main.js passes NaN objects to the Leaflet.latLngBounds constructor and throws an error.