mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[styles] Add charging_station search result icon & bookmark icon
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
d4cef9385b
commit
d5d86ffd36
@@ -74,39 +74,25 @@ public class Icon implements Parcelable
|
|||||||
/// @todo Can make better: take name-by-type from Core and make a concat: "R.drawable.ic_bookmark_" + name.
|
/// @todo Can make better: take name-by-type from Core and make a concat: "R.drawable.ic_bookmark_" + name.
|
||||||
// First icon should be "none" <-> BOOKMARK_ICON_TYPE_NONE.
|
// First icon should be "none" <-> BOOKMARK_ICON_TYPE_NONE.
|
||||||
@DrawableRes
|
@DrawableRes
|
||||||
private static final int[] TYPE_ICONS = { R.drawable.ic_bookmark_none,
|
private static final int[] TYPE_ICONS = {
|
||||||
R.drawable.ic_bookmark_hotel,
|
R.drawable.ic_bookmark_none, R.drawable.ic_bookmark_hotel, R.drawable.ic_bookmark_animals,
|
||||||
R.drawable.ic_bookmark_animals,
|
R.drawable.ic_bookmark_buddhism, R.drawable.ic_bookmark_building, R.drawable.ic_bookmark_christianity,
|
||||||
R.drawable.ic_bookmark_buddhism,
|
R.drawable.ic_bookmark_entertainment, R.drawable.ic_bookmark_money, R.drawable.ic_bookmark_food,
|
||||||
R.drawable.ic_bookmark_building,
|
R.drawable.ic_bookmark_gas, R.drawable.ic_bookmark_judaism, R.drawable.ic_bookmark_medicine,
|
||||||
R.drawable.ic_bookmark_christianity,
|
R.drawable.ic_bookmark_mountain, R.drawable.ic_bookmark_museum, R.drawable.ic_bookmark_islam,
|
||||||
R.drawable.ic_bookmark_entertainment,
|
R.drawable.ic_bookmark_park, R.drawable.ic_bookmark_parking, R.drawable.ic_bookmark_shop,
|
||||||
R.drawable.ic_bookmark_money,
|
R.drawable.ic_bookmark_sights, R.drawable.ic_bookmark_swim, R.drawable.ic_bookmark_water,
|
||||||
R.drawable.ic_bookmark_food,
|
R.drawable.ic_bookmark_bar, R.drawable.ic_bookmark_transport, R.drawable.ic_bookmark_viewpoint,
|
||||||
R.drawable.ic_bookmark_gas,
|
R.drawable.ic_bookmark_sport,
|
||||||
R.drawable.ic_bookmark_judaism,
|
R.drawable.ic_bookmark_none, // pub
|
||||||
R.drawable.ic_bookmark_medicine,
|
R.drawable.ic_bookmark_none, // art
|
||||||
R.drawable.ic_bookmark_mountain,
|
R.drawable.ic_bookmark_none, // bank
|
||||||
R.drawable.ic_bookmark_museum,
|
R.drawable.ic_bookmark_none, // cafe
|
||||||
R.drawable.ic_bookmark_islam,
|
R.drawable.ic_bookmark_none, // pharmacy
|
||||||
R.drawable.ic_bookmark_park,
|
R.drawable.ic_bookmark_none, // stadium
|
||||||
R.drawable.ic_bookmark_parking,
|
R.drawable.ic_bookmark_none, // theatre
|
||||||
R.drawable.ic_bookmark_shop,
|
R.drawable.ic_bookmark_none, // information
|
||||||
R.drawable.ic_bookmark_sights,
|
R.drawable.ic_bookmark_none // ChargingStation
|
||||||
R.drawable.ic_bookmark_swim,
|
|
||||||
R.drawable.ic_bookmark_water,
|
|
||||||
R.drawable.ic_bookmark_bar,
|
|
||||||
R.drawable.ic_bookmark_transport,
|
|
||||||
R.drawable.ic_bookmark_viewpoint,
|
|
||||||
R.drawable.ic_bookmark_sport,
|
|
||||||
R.drawable.ic_bookmark_none, // pub
|
|
||||||
R.drawable.ic_bookmark_none, // art
|
|
||||||
R.drawable.ic_bookmark_none, // bank
|
|
||||||
R.drawable.ic_bookmark_none, // cafe
|
|
||||||
R.drawable.ic_bookmark_none, // pharmacy
|
|
||||||
R.drawable.ic_bookmark_none, // stadium
|
|
||||||
R.drawable.ic_bookmark_none, // theatre
|
|
||||||
R.drawable.ic_bookmark_none // information
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@PredefinedColor
|
@PredefinedColor
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="21" height="30" version="1.1" viewBox="0 0 21 30" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient1" x1="10.5" x2="10.5" y1="5" y2="29" gradientUnits="userSpaceOnUse">
|
||||||
|
<stop stop-color="#545454" stop-opacity=".298" offset="0"/>
|
||||||
|
<stop stop-color="#000" stop-opacity=".298" offset="1"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<path d="m10.5 0c-5.8002 0-10.5 4.7022-10.5 10.475v4e-3c0.0091588 2.8463 1.1778 5.5656 3.2344 7.5332 1.5502 1.4956 3.4061 2.6146 4.4141 3.6992 0.50399 0.54229 0.7772 1.0253 0.84375 1.5156 0.066551 0.49028-0.037971 1.0824-0.60352 1.9551-0.32744 0.50519-0.50381 1.0951-0.50391 1.6973 8.05e-5 1.7081 1.4034 3.1209 3.1152 3.121 1.7118-8e-5 3.1152-1.4128 3.1152-3.1211-1e-4 -0.60213-0.17647-1.192-0.50391-1.6973v-2e-3c-0.56419-0.8714-0.67001-1.4633-0.60352-1.9531 0.06655-0.49028 0.33976-0.97334 0.84375-1.5156 1.008-1.0846 2.8638-2.2036 4.4141-3.6992 2.0566-1.9674 3.2252-4.6868 3.2344-7.5332v-4e-3c-6.1e-5 -5.7721-4.6998-10.475-10.5-10.475zm0 1c5.2629 0 9.4999 4.242 9.5 9.4746-0.0083 2.5763-1.0654 5.0381-2.9277 6.8184-2.8606 2.7598-7.4159 4.3931-4.7988 8.4316 0.22302 0.34368 0.34173 0.7446 0.3418 1.1543-5.5e-5 1.1714-0.94381 2.121-2.1152 2.1211-1.1714-5.5e-5 -2.1152-0.94967-2.1152-2.1211 6.83e-5 -0.4097 0.11878-0.81061 0.3418-1.1543 2.6171-4.0385-1.9382-5.6718-4.7988-8.4316-1.8623-1.7802-2.9194-4.242-2.9277-6.8184 5.52e-5 -5.2327 4.2371-9.4746 9.5-9.4746z" fill="#fff" opacity=".6"/>
|
||||||
|
<path d="m10.5 1c5.2629 0 9.4999 4.242 9.5 9.4746-0.0083 2.5763-1.0654 5.0381-2.9277 6.8184-2.8606 2.7598-7.4159 4.3931-4.7988 8.4316 0.22302 0.34368 0.34173 0.7446 0.3418 1.1543-5.5e-5 1.1714-0.94381 2.121-2.1152 2.1211-1.1714-5.5e-5 -2.1152-0.94967-2.1152-2.1211 6.83e-5 -0.4097 0.11878-0.81061 0.3418-1.1543 2.6171-4.0385-1.9382-5.6718-4.7988-8.4316-1.8623-1.7802-2.9194-4.242-2.9277-6.8184 5.52e-5 -5.2327 4.2371-9.4746 9.5-9.4746z" fill="url(#linearGradient1)"/>
|
||||||
|
<path d="m5.5005 5.4995a0.9975 0.9975 0 0 0-1.0005 1.0005v7.9995a0.9975 0.9975 0 0 0 1.0005 1.0005h3.9998a0.9975 0.9975 0 0 0 0.99975-1.0005v-1.9995h0.50025c0.282 0 0.50025 0.2175 0.50025 0.4995v1.0005c0 0.822 0.67725 1.5 1.5 1.5 0.822 0 1.5-0.678 1.5-1.5v-3.5002a0.51 0.51 0 0 0-0.0075-0.084 1.5172 1.5172 0 0 0 0.9195-0.91575h0.08775a0.9975 0.9975 0 0 0 0.99975-1.0005h-0.99975v-1.9995a0.50025 0.50025 0 1 0-0.99975 0v1.9995h-1.0005v-1.9995a0.50025 0.50025 0 1 0-0.99975 0v1.9995h-0.99975a0.9975 0.9975 0 0 0 0.99975 1.0005h0.08775a1.5165 1.5165 0 0 0 0.92025 0.91575 0.5115 0.5115 0 0 0-0.0075 0.084v3.5003a0.49275 0.49275 0 0 1-0.50025 0.4995 0.49275 0.49275 0 0 1-0.50025-0.4995v-1.0005c0-0.822-0.67725-1.5-1.5-1.5h-0.50025v-4.9995a0.9975 0.9975 0 0 0-0.99975-1.0005zm0.4995 1.0005h3c0.2775 0 0.50025 0.22275 0.50025 0.4995v2.5005h-3.9998v-2.5005c0-0.27675 0.22275-0.4995 0.4995-0.4995zm2.6408 3.75a0.24 0.24 0 0 1 0.1545 0.06c0.07725 0.078 0.078 0.195 0.0015 0.27375l-1.197 1.3845 0.9 0.9045a0.1785 0.1785 0 0 1-0.01725 0.2715l-1.965 1.5548a0.24675 0.24675 0 0 1-0.312-0.0098 0.19125 0.19125 0 0 1-0.00225-0.27375l1.1978-1.3822-0.90075-0.90675a0.1785 0.1785 0 0 1 0.01725-0.2715l1.965-1.5548a0.24225 0.24225 0 0 1 0.15825-0.05025z" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="36" height="36" version="1.1" viewBox="0 0 36 36" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<filter id="filter1" x="-.147" y="-.147" width="1.294" height="1.294" color-interpolation-filters="sRGB">
|
||||||
|
<feGaussianBlur stdDeviation="1.5925"/>
|
||||||
|
</filter>
|
||||||
|
<linearGradient id="linearGradient1" x1="18" x2="18" y1="3" y2="29" gradientUnits="userSpaceOnUse">
|
||||||
|
<stop stop-color="#3fa8f3" offset="0"/>
|
||||||
|
<stop stop-color="#2089d4" offset="1"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<circle cx="18" cy="18" r="13" filter="url(#filter1)" opacity=".35"/>
|
||||||
|
<circle cx="18" cy="16" r="13" fill="url(#linearGradient1)" stroke="#fff" stroke-width="2"/>
|
||||||
|
<path d="m11.214 8.4996a1.4962 1.4962 0 0 0-1.5008 1.5007v11.999a1.4962 1.4962 0 0 0 1.5008 1.5008h5.9996a1.4962 1.4962 0 0 0 1.4996-1.5008v-2.9992h0.75038c0.423 0 0.75038 0.32625 0.75038 0.74925v1.5008c0 1.233 1.0159 2.25 2.25 2.25 1.233 0 2.25-1.017 2.25-2.25v-5.2504a0.765 0.765 0 0 0-0.01125-0.126 2.2759 2.2759 0 0 0 1.3792-1.3736h0.13162a1.4962 1.4962 0 0 0 1.4996-1.5007h-1.4996v-2.9992a0.75038 0.75038 0 1 0-1.4996 0v2.9992h-1.5008v-2.9992a0.75038 0.75038 0 1 0-1.4996 0v2.9992h-1.4996a1.4962 1.4962 0 0 0 1.4996 1.5007h0.13162a2.2748 2.2748 0 0 0 1.3804 1.3736 0.76725 0.76725 0 0 0-0.01125 0.126v5.2504a0.73912 0.73912 0 0 1-0.75037 0.74925 0.73912 0.73912 0 0 1-0.75038-0.74925v-1.5008c0-1.233-1.0159-2.25-2.25-2.25h-0.75038v-7.4992a1.4962 1.4962 0 0 0-1.4996-1.5007zm0.74925 1.5007h4.5c0.41625 0 0.75038 0.33412 0.75038 0.74925v3.7507h-5.9996v-3.7507c0-0.41512 0.33413-0.74925 0.74925-0.74925zm3.9611 5.625a0.36 0.36 0 0 1 0.23175 0.09c0.11588 0.117 0.117 0.2925 0.0023 0.41062l-1.7955 2.0768 1.35 1.3568a0.26775 0.26775 0 0 1-0.02587 0.40725l-2.9475 2.3321a0.37012 0.37012 0 0 1-0.468-0.0147 0.28688 0.28688 0 0 1-0.0033-0.41062l1.7966-2.0734-1.3511-1.3601a0.26775 0.26775 0 0 1 0.02587-0.40725l2.9475-2.3321a0.36338 0.36338 0 0 1 0.23738-0.07537z" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="21" height="30" version="1.1" viewBox="0 0 21 30" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<linearGradient id="linearGradient1" x1="10.5" x2="10.5" y1="5" y2="29" gradientUnits="userSpaceOnUse">
|
||||||
|
<stop stop-color="#fff" stop-opacity=".125" offset="0"/>
|
||||||
|
<stop stop-color="#080808" stop-opacity=".125" offset="1"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<path d="m10.5 0c-5.8002 0-10.5 4.7022-10.5 10.475v4e-3c0.0091588 2.8463 1.1778 5.5656 3.2344 7.5332 1.5502 1.4956 3.4061 2.6146 4.4141 3.6992 0.50399 0.54229 0.7772 1.0253 0.84375 1.5156 0.066551 0.49028-0.037971 1.0824-0.60352 1.9551-0.32744 0.50519-0.50381 1.0951-0.50391 1.6973 8.05e-5 1.7081 1.4034 3.1209 3.1152 3.121 1.7118-8e-5 3.1152-1.4128 3.1152-3.1211-1e-4 -0.60213-0.17647-1.192-0.50391-1.6973v-2e-3c-0.56419-0.8714-0.67001-1.4633-0.60352-1.9531 0.06655-0.49028 0.33976-0.97334 0.84375-1.5156 1.008-1.0846 2.8638-2.2036 4.4141-3.6992 2.0566-1.9674 3.2252-4.6868 3.2344-7.5332v-4e-3c-6.1e-5 -5.7721-4.6998-10.475-10.5-10.475zm0 1c5.2629 0 9.4999 4.242 9.5 9.4746-0.0083 2.5763-1.0654 5.0381-2.9277 6.8184-2.8606 2.7598-7.4159 4.3931-4.7988 8.4316 0.22302 0.34368 0.34173 0.7446 0.3418 1.1543-5.5e-5 1.1714-0.94381 2.121-2.1152 2.1211-1.1714-5.5e-5 -2.1152-0.94967-2.1152-2.1211 6.83e-5 -0.4097 0.11878-0.81061 0.3418-1.1543 2.6171-4.0385-1.9382-5.6718-4.7988-8.4316-1.8623-1.7802-2.9194-4.242-2.9277-6.8184 5.52e-5 -5.2327 4.2371-9.4746 9.5-9.4746z" fill="#fff" opacity=".6"/>
|
||||||
|
<path d="m10.5 1c5.2629 0 9.4999 4.242 9.5 9.4746-0.0083 2.5763-1.0654 5.0381-2.9277 6.8184-2.8606 2.7598-7.4159 4.3931-4.7988 8.4316 0.22302 0.34368 0.34173 0.7446 0.3418 1.1543-5.5e-5 1.1714-0.94381 2.121-2.1152 2.1211-1.1714-5.5e-5 -2.1152-0.94967-2.1152-2.1211 6.83e-5 -0.4097 0.11878-0.81061 0.3418-1.1543 2.6171-4.0385-1.9382-5.6718-4.7988-8.4316-1.8623-1.7802-2.9194-4.242-2.9277-6.8184 5.52e-5 -5.2327 4.2371-9.4746 9.5-9.4746z" fill="url(#linearGradient1)"/>
|
||||||
|
<path d="m5.5005 5.4995a0.9975 0.9975 0 0 0-1.0005 1.0005v7.9995a0.9975 0.9975 0 0 0 1.0005 1.0005h3.9998a0.9975 0.9975 0 0 0 0.99975-1.0005v-1.9995h0.50025c0.282 0 0.50025 0.2175 0.50025 0.4995v1.0005c0 0.822 0.67725 1.5 1.5 1.5 0.822 0 1.5-0.678 1.5-1.5v-3.5002a0.51 0.51 0 0 0-0.0075-0.084 1.5172 1.5172 0 0 0 0.9195-0.91575h0.08775a0.9975 0.9975 0 0 0 0.99975-1.0005h-0.99975v-1.9995a0.50025 0.50025 0 1 0-0.99975 0v1.9995h-1.0005v-1.9995a0.50025 0.50025 0 1 0-0.99975 0v1.9995h-0.99975a0.9975 0.9975 0 0 0 0.99975 1.0005h0.08775a1.5165 1.5165 0 0 0 0.92025 0.91575 0.5115 0.5115 0 0 0-0.0075 0.084v3.5003a0.49275 0.49275 0 0 1-0.50025 0.4995 0.49275 0.49275 0 0 1-0.50025-0.4995v-1.0005c0-0.822-0.67725-1.5-1.5-1.5h-0.50025v-4.9995a0.9975 0.9975 0 0 0-0.99975-1.0005zm0.4995 1.0005h3c0.2775 0 0.50025 0.22275 0.50025 0.4995v2.5005h-3.9998v-2.5005c0-0.27675 0.22275-0.4995 0.4995-0.4995zm2.6408 3.75a0.24 0.24 0 0 1 0.1545 0.06c0.07725 0.078 0.078 0.195 0.0015 0.27375l-1.197 1.3845 0.9 0.9045a0.1785 0.1785 0 0 1-0.01725 0.2715l-1.965 1.5548a0.24675 0.24675 0 0 1-0.312-0.0098 0.19125 0.19125 0 0 1-0.00225-0.27375l1.1978-1.3822-0.90075-0.90675a0.1785 0.1785 0 0 1 0.01725-0.2715l1.965-1.5548a0.24225 0.24225 0 0 1 0.15825-0.05025z" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 3.2 KiB |
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="36" height="36" version="1.1" viewBox="0 0 36 36" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<defs>
|
||||||
|
<filter id="filter1" x="-.147" y="-.147" width="1.294" height="1.294" color-interpolation-filters="sRGB">
|
||||||
|
<feGaussianBlur stdDeviation="1.5925"/>
|
||||||
|
</filter>
|
||||||
|
<linearGradient id="linearGradient1" x1="18" x2="18" y1="3" y2="29" gradientUnits="userSpaceOnUse">
|
||||||
|
<stop stop-color="#3fa8f3" offset="0"/>
|
||||||
|
<stop stop-color="#2089d4" offset="1"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<circle cx="18" cy="18" r="13" filter="url(#filter1)" opacity=".35"/>
|
||||||
|
<circle cx="18" cy="16" r="13" fill="url(#linearGradient1)" stroke="#fff" stroke-width="2"/>
|
||||||
|
<path d="m11.214 8.4996a1.4962 1.4962 0 0 0-1.5008 1.5007v11.999a1.4962 1.4962 0 0 0 1.5008 1.5008h5.9996a1.4962 1.4962 0 0 0 1.4996-1.5008v-2.9992h0.75038c0.423 0 0.75038 0.32625 0.75038 0.74925v1.5008c0 1.233 1.0159 2.25 2.25 2.25 1.233 0 2.25-1.017 2.25-2.25v-5.2504a0.765 0.765 0 0 0-0.01125-0.126 2.2759 2.2759 0 0 0 1.3792-1.3736h0.13162a1.4962 1.4962 0 0 0 1.4996-1.5007h-1.4996v-2.9992a0.75038 0.75038 0 1 0-1.4996 0v2.9992h-1.5008v-2.9992a0.75038 0.75038 0 1 0-1.4996 0v2.9992h-1.4996a1.4962 1.4962 0 0 0 1.4996 1.5007h0.13162a2.2748 2.2748 0 0 0 1.3804 1.3736 0.76725 0.76725 0 0 0-0.01125 0.126v5.2504a0.73912 0.73912 0 0 1-0.75037 0.74925 0.73912 0.73912 0 0 1-0.75038-0.74925v-1.5008c0-1.233-1.0159-2.25-2.25-2.25h-0.75038v-7.4992a1.4962 1.4962 0 0 0-1.4996-1.5007zm0.74925 1.5007h4.5c0.41625 0 0.75038 0.33412 0.75038 0.74925v3.7507h-5.9996v-3.7507c0-0.41512 0.33413-0.74925 0.74925-0.74925zm3.9611 5.625a0.36 0.36 0 0 1 0.23175 0.09c0.11588 0.117 0.117 0.2925 0.0023 0.41062l-1.7955 2.0768 1.35 1.3568a0.26775 0.26775 0 0 1-0.02587 0.40725l-2.9475 2.3321a0.37012 0.37012 0 0 1-0.468-0.0147 0.28688 0.28688 0 0 1-0.0033-0.41062l1.7966-2.0734-1.3511-1.3601a0.26775 0.26775 0 0 1 0.02587-0.40725l2.9475-2.3321a0.36338 0.36338 0 0 1 0.23738-0.07537z" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.9 KiB |
12
iphone/Maps/Images.xcassets/Bookmarks/ic_bm_chargingstation.imageset/Contents.json
vendored
Normal file
12
iphone/Maps/Images.xcassets/Bookmarks/ic_bm_chargingstation.imageset/Contents.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"images" : [
|
||||||
|
{
|
||||||
|
"idiom" : "universal",
|
||||||
|
"filename" : "ic_bm_chargingstation.svg"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"info" : {
|
||||||
|
"version" : 1,
|
||||||
|
"author" : "xcode"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="19" height="19" version="1.1" viewBox="0 0 19 19" xml:space="preserve" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="m2.0008 1.9996a1.4962 1.4962 0 0 0-1.5007 1.5008v11.999a1.4962 1.4962 0 0 0 1.5007 1.5008h5.9996a1.4962 1.4962 0 0 0 1.4996-1.5008v-2.9992h0.75038c0.423 0 0.75038 0.32625 0.75038 0.74925v1.5008c0 1.233 1.0159 2.25 2.25 2.25 1.233 0 2.25-1.017 2.25-2.25v-5.2504a0.765 0.765 0 0 0-0.01125-0.126c0.64012-0.225 1.1497-0.73462 1.3792-1.3736h0.13162a1.4962 1.4962 0 0 0 1.4996-1.5008h-1.4996v-2.9992a0.75038 0.75038 0 1 0-1.4996 0v2.9992h-1.5008v-2.9992a0.75038 0.75038 0 1 0-1.4996 0v2.9992h-1.4996a1.4962 1.4962 0 0 0 1.4996 1.5008h0.13162a2.2748 2.2748 0 0 0 1.3804 1.3736 0.76725 0.76725 0 0 0-0.01125 0.126v5.2504c0 0.423-0.32737 0.74925-0.75038 0.74925a0.73912 0.73912 0 0 1-0.75037-0.74925v-1.5008c0-1.233-1.0159-2.25-2.25-2.25h-0.75038v-7.4992a1.4962 1.4962 0 0 0-1.4996-1.5008zm0.74925 1.5008h4.5c0.41625 0 0.75038 0.33412 0.75038 0.74925v3.7508h-5.9996v-3.7508c0-0.41512 0.33412-0.74925 0.74925-0.74925zm3.9611 5.625a0.36 0.36 0 0 1 0.23175 0.09c0.11588 0.117 0.117 0.2925 0.0023 0.41063l-1.7955 2.0767 1.35 1.3568a0.26775 0.26775 0 0 1-0.02587 0.40725l-2.9475 2.3321a0.37012 0.37012 0 0 1-0.468-0.01462 0.28688 0.28688 0 0 1-0.0034-0.41062l1.7966-2.0734-1.3511-1.3601a0.26775 0.26775 0 0 1 0.02588-0.40725l2.9475-2.3321a0.36338 0.36338 0 0 1 0.23738-0.075375z" fill="#fff"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 1.4 KiB |
@@ -184,6 +184,7 @@ enum class BookmarkIcon : uint16_t
|
|||||||
Stadium,
|
Stadium,
|
||||||
Theatre,
|
Theatre,
|
||||||
Information,
|
Information,
|
||||||
|
ChargingStation,
|
||||||
|
|
||||||
Count
|
Count
|
||||||
};
|
};
|
||||||
@@ -226,6 +227,7 @@ inline std::string ToString(BookmarkIcon icon)
|
|||||||
case Stadium: return "Stadium";
|
case Stadium: return "Stadium";
|
||||||
case Theatre: return "Theatre";
|
case Theatre: return "Theatre";
|
||||||
case Information: return "Information";
|
case Information: return "Information";
|
||||||
|
case ChargingStation: return "ChargingStation";
|
||||||
case Count: return {};
|
case Count: return {};
|
||||||
}
|
}
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ std::string GetBookmarkIconType(kml::BookmarkIcon const & icon)
|
|||||||
case kml::BookmarkIcon::Stadium: return "stadium";
|
case kml::BookmarkIcon::Stadium: return "stadium";
|
||||||
case kml::BookmarkIcon::Theatre: return "theatre";
|
case kml::BookmarkIcon::Theatre: return "theatre";
|
||||||
case kml::BookmarkIcon::Information: return "information";
|
case kml::BookmarkIcon::Information: return "information";
|
||||||
|
case kml::BookmarkIcon::ChargingStation: return "charging_station";
|
||||||
case kml::BookmarkIcon::Count:
|
case kml::BookmarkIcon::Count:
|
||||||
ASSERT(false, ("Invalid bookmark icon type"));
|
ASSERT(false, ("Invalid bookmark icon type"));
|
||||||
return {};
|
return {};
|
||||||
|
|||||||
@@ -88,7 +88,9 @@ std::map<std::string, BookmarkMatchInfo> const kFeatureTypeToBookmarkMatchInfo =
|
|||||||
{"leisure-picnic_table", {kml::BookmarkIcon::Food, BookmarkBaseType::Food}},
|
{"leisure-picnic_table", {kml::BookmarkIcon::Food, BookmarkBaseType::Food}},
|
||||||
{"tourism-picnic_site", {kml::BookmarkIcon::Food, BookmarkBaseType::Food}},
|
{"tourism-picnic_site", {kml::BookmarkIcon::Food, BookmarkBaseType::Food}},
|
||||||
|
|
||||||
{"amenity-charging_station", {kml::BookmarkIcon::Gas, BookmarkBaseType::Gas}},
|
{"amenity-charging_station", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||||
|
{"amenity-charging_station-bicycle", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||||
|
{"amenity-charging_station-motorcar", {kml::BookmarkIcon::ChargingStation, BookmarkBaseType::Gas}},
|
||||||
{"amenity-fuel", {kml::BookmarkIcon::Gas, BookmarkBaseType::Gas}},
|
{"amenity-fuel", {kml::BookmarkIcon::Gas, BookmarkBaseType::Gas}},
|
||||||
|
|
||||||
{"tourism-alpine_hut", {kml::BookmarkIcon::Hotel, BookmarkBaseType::Hotel}},
|
{"tourism-alpine_hut", {kml::BookmarkIcon::Hotel, BookmarkBaseType::Hotel}},
|
||||||
|
|||||||
@@ -47,6 +47,7 @@ enum SearchMarkPoint::SearchMarkType : uint8_t
|
|||||||
Playground,
|
Playground,
|
||||||
Bank,
|
Bank,
|
||||||
Fuel,
|
Fuel,
|
||||||
|
ChargingStation,
|
||||||
ShopAlcohol,
|
ShopAlcohol,
|
||||||
ShopButcher,
|
ShopButcher,
|
||||||
ShopClothes,
|
ShopClothes,
|
||||||
@@ -116,6 +117,7 @@ std::array<std::string, SearchMarkType::Count> const kSymbols = {
|
|||||||
"search-result-playground", // Playground.
|
"search-result-playground", // Playground.
|
||||||
"search-result-bank", // Bank.
|
"search-result-bank", // Bank.
|
||||||
"search-result-fuel", // Fuel.
|
"search-result-fuel", // Fuel.
|
||||||
|
"search-result-charging_station", // ChargingStation.
|
||||||
"search-result-shop-alcohol", // ShopAlcohol.
|
"search-result-shop-alcohol", // ShopAlcohol.
|
||||||
"search-result-shop-butcher", // ShopButcher.
|
"search-result-shop-butcher", // ShopButcher.
|
||||||
"search-result-shop-clothes", // ShopClothes.
|
"search-result-shop-clothes", // ShopClothes.
|
||||||
@@ -221,6 +223,9 @@ private:
|
|||||||
{{"amenity", "bank"}, SearchMarkType::Bank},
|
{{"amenity", "bank"}, SearchMarkType::Bank},
|
||||||
{{"shop", "money_lender"}, SearchMarkType::Bank},
|
{{"shop", "money_lender"}, SearchMarkType::Bank},
|
||||||
{{"amenity", "fuel"}, SearchMarkType::Fuel},
|
{{"amenity", "fuel"}, SearchMarkType::Fuel},
|
||||||
|
{{"amenity", "charging_station"}, SearchMarkType::ChargingStation},
|
||||||
|
{{"amenity", "charging_station", "bicycle"}, SearchMarkType::ChargingStation},
|
||||||
|
{{"amenity", "charging_station", "motorcar"}, SearchMarkType::ChargingStation},
|
||||||
{{"shop", "alcohol"}, SearchMarkType::ShopAlcohol},
|
{{"shop", "alcohol"}, SearchMarkType::ShopAlcohol},
|
||||||
{{"shop", "beverages"}, SearchMarkType::ShopAlcohol},
|
{{"shop", "beverages"}, SearchMarkType::ShopAlcohol},
|
||||||
{{"shop", "wine"}, SearchMarkType::ShopAlcohol},
|
{{"shop", "wine"}, SearchMarkType::ShopAlcohol},
|
||||||
|
|||||||
Reference in New Issue
Block a user