|
@@ -395,7 +395,7 @@ const MapScreen: any = ({ navigation, route }: { navigation: any; route: any })
|
|
|
const id = icon.id;
|
|
|
const img = API_HOST + '/static/img/series_new2/' + icon.new_icon_png;
|
|
|
const imgVisited = API_HOST + '/static/img/series_new2/' + icon.new_icon_visited_png;
|
|
|
- if (img && imgVisited) {
|
|
|
+ if (icon.new_icon_png && icon.new_icon_visited_png) {
|
|
|
loadedSeriesImages[id] = { uri: img };
|
|
|
loadedSeriesImages[`${id}v`] = { uri: imgVisited };
|
|
|
|
|
@@ -1369,6 +1369,19 @@ const MapScreen: any = ({ navigation, route }: { navigation: any; route: any })
|
|
|
textAllowOverlap: true
|
|
|
}}
|
|
|
/>
|
|
|
+ <MapLibreGL.CircleLayer
|
|
|
+ id="nomads_circle_outline"
|
|
|
+ filter={['!', ['has', 'point_count']]}
|
|
|
+ aboveLayerID={Platform.OS === 'android' ? 'place-continent' : undefined}
|
|
|
+ belowLayerID="nomads_symbol"
|
|
|
+ style={{
|
|
|
+ circleRadius: ['interpolate', ['linear'], ['zoom'], 0, 15, 5, 18, 10, 21, 15, 24, 20, 27],
|
|
|
+ circleColor: 'rgba(255, 126, 0, 1)',
|
|
|
+ circleStrokeWidth: 2,
|
|
|
+ circleStrokeColor: '#FFFFFF',
|
|
|
+ circleOpacity: 1
|
|
|
+ }}
|
|
|
+ />
|
|
|
<MapLibreGL.SymbolLayer
|
|
|
id="nomads_symbol"
|
|
|
filter={['!', ['has', 'point_count']]}
|
|
@@ -1379,10 +1392,11 @@ const MapScreen: any = ({ navigation, route }: { navigation: any; route: any })
|
|
|
'interpolate',
|
|
|
['linear'],
|
|
|
['zoom'],
|
|
|
- 0, 0.07,
|
|
|
- 10, 0.12,
|
|
|
- 15, 0.18,
|
|
|
- 20, 0.2
|
|
|
+ 0, 0.1,
|
|
|
+ 5, 0.12,
|
|
|
+ 10, 0.14,
|
|
|
+ 15, 0.16,
|
|
|
+ 20, 0.18
|
|
|
],
|
|
|
iconAllowOverlap: true
|
|
|
}}
|