@@ -101,7 +101,7 @@ export function useMapIcons() {
101101 'maxzoom' : 24 ,
102102 'layout' : {
103103 'icon-image' : iconExpression ,
104- 'icon-size' : 0.06328125 ,
104+ 'icon-size' : 0.095 ,
105105 'icon-allow-overlap' : false ,
106106 'icon-anchor' : 'bottom' ,
107107 'icon-offset' : [ 0 , 0 ] ,
@@ -111,7 +111,7 @@ export function useMapIcons() {
111111 'text-anchor' : 'left' ,
112112 'text-offset' : [ 1 , - 0.95 ] ,
113113 'text-justify' : 'left' ,
114- 'text-size' : 14 ,
114+ 'text-size' : 16 ,
115115 'text-optional' : true , // Hide text if it collides, but keep the icon
116116 } ,
117117 'paint' : {
@@ -136,7 +136,7 @@ export function useMapIcons() {
136136 'maxzoom' : 24 ,
137137 'layout' : {
138138 'icon-image' : 'active' ,
139- 'icon-size' : 0.09492188 , // 1.5x larger
139+ 'icon-size' : 0.127 ,
140140 'icon-allow-overlap' : true , // Always visible
141141 'icon-ignore-placement' : false , // Block other icons from rendering here
142142 'icon-anchor' : 'bottom' ,
@@ -147,7 +147,7 @@ export function useMapIcons() {
147147 'text-anchor' : 'left' ,
148148 'text-offset' : [ 1 , - 0.95 ] ,
149149 'text-justify' : 'left' ,
150- 'text-size' : 16 ,
150+ 'text-size' : 18 ,
151151 'text-allow-overlap' : true , // Always show text
152152 'text-ignore-placement' : false , // Block other text from rendering here
153153 } ,
@@ -288,8 +288,8 @@ export function useMapIcons() {
288288 const iconSizeExpression = [
289289 'case' ,
290290 [ 'in' , [ 'get' , 'uuid' ] , [ 'literal' , uuids ] ] ,
291- 0.09492188 , // 1.5x larger
292- 0.06328125 ,
291+ 0.127 ,
292+ 0.095 ,
293293 ]
294294 map . setLayoutProperty ( 'location-icon' , 'icon-size' , iconSizeExpression as any )
295295
@@ -304,8 +304,8 @@ export function useMapIcons() {
304304 const textSizeExpression = [
305305 'case' ,
306306 [ 'in' , [ 'get' , 'uuid' ] , [ 'literal' , uuids ] ] ,
307+ 18 ,
307308 16 ,
308- 14 ,
309309 ]
310310 map . setLayoutProperty ( 'location-icon' , 'text-size' , textSizeExpression as any )
311311
@@ -324,9 +324,9 @@ export function useMapIcons() {
324324 else {
325325 // Reset to normal styling
326326 map . setLayoutProperty ( 'location-icon' , 'icon-image' , buildIconExpression ( ) as any )
327- map . setLayoutProperty ( 'location-icon' , 'icon-size' , 0.06328125 )
327+ map . setLayoutProperty ( 'location-icon' , 'icon-size' , 0.095 )
328328 map . setLayoutProperty ( 'location-icon' , 'symbol-sort-key' , [ '-' , 0 , [ 'coalesce' , [ 'get' , 'rating' ] , 0 ] ] as any )
329- map . setLayoutProperty ( 'location-icon' , 'text-size' , 14 )
329+ map . setLayoutProperty ( 'location-icon' , 'text-size' , 16 )
330330 map . setPaintProperty ( 'location-icon' , 'text-color' , buildColorExpression ( ) as any )
331331 map . setLayoutProperty ( 'location-icon' , 'text-allow-overlap' , false )
332332 map . setLayoutProperty ( 'location-icon' , 'text-optional' , true )
0 commit comments