Skip to content

Commit

Permalink
Merge pull request #646 from mapseed/bogtobay-design-updates
Browse files Browse the repository at this point in the history
Bogtobay design updates: pledge icon
  • Loading branch information
futuresoup committed Feb 25, 2017
2 parents a452a98 + 70a6c3b commit e896c98
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions src/flavors/bogtobay/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,22 @@ place_types:
iconSize: [30, 30]
iconAnchor: [15, 15]

teardropZoomStyle:
- condition: '{{layer.focused}} === true'
icon:
iconSize: [50, 60]
iconAnchor: [25, 25]
shadowSize: [50, 60]
shadowAnchor: [14, 60]
- condition: '{{map.zoom}} < 11'
icon:
iconSize: [20, 24]
iconAnchor: [10, 24]
- condition: '{{map.zoom}} >= 11'
icon:
iconSize: [38, 46]
iconAnchor: [19, 46]

mapbox:
# Mapbox Points
rules:
Expand Down Expand Up @@ -290,11 +306,11 @@ place_types:
iconUrl: /static/css/images/markers/marker-tree.png

pledge:
zoomType: roundZoomStyle
zoomType: teardropZoomStyle
rules:
- condition: 'true'
icon:
iconUrl: /static/css/images/markers/marker-pledge.png
iconUrl: /static/css/images/markers/marker-pledge-2.png
iconSize: [50, 60]
iconAnchor: [25, 60]
shadowSize: [50, 60]
Expand Down Expand Up @@ -636,7 +652,7 @@ place:
includeOnForm: true
name: location_type
dataset: bogtobay
icon_url: /static/css/images/markers/marker-pledge.png
icon_url: /static/css/images/markers/marker-pledge-2.png
value: pledge
label: _(Stewardship Pledge)
fields:
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e896c98

Please sign in to comment.