Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Use text-overlap and icon-overlap #124

Merged
merged 1 commit into from
Feb 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/pages/example/add-image-stretchable.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
'text-field': ['get', 'name'],
'icon-text-fit': 'both',
'icon-image': ['get', 'image-name'],
'icon-allow-overlap': true,
'text-allow-overlap': true
'icon-overlap': 'always',
'text-overlap': 'always'
}
});

Expand All @@ -130,8 +130,8 @@
'layout': {
'text-field': 'unstretched image',
'icon-image': 'popup-debug',
'icon-allow-overlap': true,
'text-allow-overlap': true
'icon-overlap': 'always',
'text-overlap': 'always'
}
});
});
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/example/animate-point-along-route.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
'icon-image': 'airport_15',
'icon-rotate': ['get', 'bearing'],
'icon-rotation-alignment': 'map',
'icon-allow-overlap': true,
'icon-overlap': 'always',
'icon-ignore-placement': true
}
});
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/example/filter-markers-by-input.html
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
'source': 'places',
'layout': {
'icon-image': symbol + '_15',
'icon-allow-overlap': true,
'icon-overlap': 'always',
'text-field': symbol,
'text-font': [
'Open Sans Bold',
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/example/filter-markers.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
'source': 'places',
'layout': {
'icon-image': symbol + '_15',
'icon-allow-overlap': true
'icon-overlap': 'always'
},
'filter': ['==', 'icon', symbol]
});
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/example/popup-on-click.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
'source': 'places',
'layout': {
'icon-image': '{icon}_15',
'icon-allow-overlap': true
'icon-overlap': 'always'
}
});

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/example/popup-on-hover.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
'source': 'places',
'layout': {
'icon-image': 'custom-marker',
'icon-allow-overlap': true
'icon-overlap': 'always'
}
});
}
Expand Down