Browse Source

Increasing zoom in map and fine-tuning font sizes

master
GabrielTrettel 4 years ago
parent
commit
0c5834f256
  1. 8
      src/app/config/dimensions.js
  2. 2
      src/app/screens/MapFeedScreen.js

8
src/app/config/dimensions.js

@ -5,10 +5,10 @@ const screen_height = Dimensions.get("window").height;
const dimensions = { const dimensions = {
text: { text: {
header: 24,
secondary: 20,
default: 18,
tertiary: 14,
header: 26,
secondary: 18,
default: 16,
tertiary: 12,
}, },
}; };

2
src/app/screens/MapFeedScreen.js

@ -20,7 +20,7 @@ function MapFeedScreen(props) {
const markers = useMarkers(hasToQuery); const markers = useMarkers(hasToQuery);
// console.log(markers); // console.log(markers);
const map_scale = 0.005;
const map_scale = 0.003;
const lat_long_delta = { const lat_long_delta = {
latitudeDelta: map_scale, latitudeDelta: map_scale,
longitudeDelta: map_scale * (screen_width / screen_height), longitudeDelta: map_scale * (screen_width / screen_height),

Loading…
Cancel
Save