cityofaustin / ctxfloods

Central Texas Floods
11 stars 5 forks source link

viewportgeojson doesn't work for users of new communities #430

Closed Niicck closed 5 years ago

Niicck commented 5 years ago

Default function params don't overwrite null values

const getViewportAndCenter = (viewportgeojson=
  `{"type":"Polygon","coordinates":[[[-98.086914,30.148464],[-98.086914,30.433285],[-97.615974,30.433285],[-97.615974,30.148464],[-98.086914,30.148464]]]}`
) => { ... }