enridaga / gapvis

A visual interface for reading ancient texts for the Google Ancient Places project
http://googleancientplaces.wordpress.com
Other
5 stars 2 forks source link

Tools for customization of representation of places in the map #22

Closed enridaga closed 10 years ago

enridaga commented 10 years ago

This is discussed at https://github.com/ekansa/gap2/issues/8

enridaga commented 10 years ago

Adding a configuration property in settings.js: PLACE_THEME. Supported values are frequency and feature.

If the value is set to feature then places in the main json should have a type property set to one of the following values: "REGION", "SETTLEMENT", "NATURAL_FEATURE".

For example:

    "places": [ {"id":766,"title":"Aegyptus","ll":[32.5,32.5],"type":"REGION" }, ... 
enridaga commented 10 years ago

This is implemented now. It should be better tested but, without real data supporting this feature is kind of difficult. It has been implemented with fake data and behave nicely.