eyeseast / ulysses-js

A tool for telling stories with maps.
https://eyeseast.github.io/ulysses-js/
MIT License
25 stars 0 forks source link

Handle null or invalid geometries #6

Closed eyeseast closed 3 years ago

eyeseast commented 3 years ago

I should be able to have feature like this without breaking things:

      {
        "type": "Feature",
        "properties": {
          "text": "<p>I stuffed a shirt or two into my old carpet-bag, tucked it under my arm, and started for Cape Horn and the Pacific. Quitting the good city of old Manhatto, I duly arrived in New Bedford. It was a Saturday night in December. Much was I disappointed upon learning that the little packet for Nantucket had already sailed, and that no way of reaching that place would offer, till the following Monday.</p>\n",
          "center": "",
          "zoom": "",
        },
        "geometry": null
      }

Should use noop as an action.