trailheadlabs / outerspatial-map-library

A Leaflet plugin built for use in OuterSpatial
https://www.trailheadlabs.com/labs/outerspatial-map-library/
Other
6 stars 1 forks source link

Fix area address formatting #84

Closed ryanbranciforte closed 6 years ago

ryanbranciforte commented 6 years ago

https://manager.outerspatial.com/6201/features/areas/82518/info

https://www.outerspatial.com/builder_maps/2/embed

screen shot 2017-10-31 at 10 20 26 pm

screen shot 2017-10-31 at 10 20 21 pm

ryanjhodge commented 6 years ago

Also on Mount Tamalpais State Park.

screen shot 2017-11-01 at 11 48 18 am
ryanjhodge commented 6 years ago

The data is coming out of the API like this.

I tried the following and it did not fix the issue:

  1. Clearing the address in manager
  2. Saving
  3. Re entering address
nateirwin commented 6 years ago

This is actually by design. Manager uses Mapzen's geocoder to allow users to select existing addresses. The object returned by Mapzen is then stringified and stored in OuterSpatial. In Mobile, I parse this and just use the "label" property for display.