Ecotrust / usvi

1 stars 4 forks source link

map question (with actual map) #301

Open sfletche opened 10 years ago

sfletche commented 10 years ago

Map Question so far... Functional St Thomas map with 2.5 minute grid.
This vector layer will likely be updated...

Map Question left to do... Waiting on St. Croix shapefile (and updated St Thomas shapefile) Will need to Add correct labeling

sfletche commented 10 years ago

Leaflet labels now working on St. Thomas map.

Currently, all multipolygon map questions are using the StThomas.json data. Other json has been added, including StCroix.json and PuertoRico.json All of these use the ID field to house the relevant id for the NOAA 2.5 minute grid.

Still need to... Get things working for the other islands. This might include adjusting the server side models and authoring tool to include fields for the json file name/location/(maybe the data itself?) and possibly the name of the field (currently this would be ID for all 3 files).

sfletche commented 10 years ago

some of this work is being hampered by the authoring tool issues. might wait to wrap up this question until the authoring tool work is finished too.

currently the multipolygon-map question takes lat/lon/zoom values through the authoring tool, then determines which json to load based on whether the slug contains st-thomas or st-croix.

will need to replace the area-1-fished-nets type of questions with 2 questions on 2 separate pages, area-fished-st-thomas-nets and area-fished-st-croix-nets. these pages will need a block (skip condition) associated with them so that they only occur when the relevant island/form was chosen. will need to do this for each of the 4 gear types.

sfletche commented 10 years ago

will be experimenting with the solution (just pushed) on the next deployment/build (on dev)....