-
- Downloads
feat(maps_utils,district): Use FeatureCollection GeoJSON type by default
- All features in GeoFeatureDetailPage will be converted to FeatureCollection - Each collection may have multiple GeoJSON feature objects, each with its own properties. This enables us to provide customized title & description for individual features. You can set 'title' and 'description' properties and they will be used both in map and on detail page. - Each FeatureCollection sits on its own Leaflet layer. - Having each FeatureCollection on own layer enabled us to do precise muting support: layer will be completely removed/added which greatly helps to avoid visual clutter. - Muting support added to whole geo categories as well! - Fixed map collection block.
parent
0df1fea8
No related branches found
No related tags found
Showing
- district/migrations/0080_data_convert_feature_to_featurecollection.py 42 additions, 0 deletions...rations/0080_data_convert_feature_to_featurecollection.py
- district/migrations/0081_alter_districtarticlepage_content_and_more.py 64748 additions, 0 deletions...ations/0081_alter_districtarticlepage_content_and_more.py
- district/migrations/0082_districtgeofeaturedetailpage_parts_section_title.py 24 additions, 0 deletions.../0082_districtgeofeaturedetailpage_parts_section_title.py
- district/models.py 68 additions, 34 deletionsdistrict/models.py
- district/templates/district/district_geo_feature_collection_page.html 3 additions, 3 deletions...plates/district/district_geo_feature_collection_page.html
- district/templates/district/district_geo_feature_detail_page.html 15 additions, 3 deletions.../templates/district/district_geo_feature_detail_page.html
- maps_utils/blocks.py 72 additions, 42 deletionsmaps_utils/blocks.py
- maps_utils/static/maps_utils/geo-feature-collection.css 14 additions, 2 deletionsmaps_utils/static/maps_utils/geo-feature-collection.css
- maps_utils/static/maps_utils/geo-feature-collection.js 262 additions, 137 deletionsmaps_utils/static/maps_utils/geo-feature-collection.js
- maps_utils/templates/maps_utils/blocks/map_point.html 1 addition, 0 deletionsmaps_utils/templates/maps_utils/blocks/map_point.html
- maps_utils/validation/schemas/FeatureCollection.json 531 additions, 0 deletionsmaps_utils/validation/schemas/FeatureCollection.json
- maps_utils/validation/validators.py 48 additions, 10 deletionsmaps_utils/validation/validators.py
- shared/blocks.py 1 addition, 1 deletionshared/blocks.py
- tests/maps_utils/test_geojson_validation.py 29 additions, 2 deletionstests/maps_utils/test_geojson_validation.py
- uniweb/migrations/0031_alter_uniwebarticlepage_content.py 5852 additions, 0 deletionsuniweb/migrations/0031_alter_uniwebarticlepage_content.py
Loading
Please register or sign in to comment