Some homepage improvements

This commit is contained in:
Keannu Bernasol 2023-07-25 17:02:35 +08:00
parent eb08e02a16
commit d87f61ec08

View file

@ -76,7 +76,7 @@ export default function Home() {
zoomEnabled={false} zoomEnabled={false}
rotateEnabled={false} rotateEnabled={false}
followsUserLocation={true} followsUserLocation={true}
minZoomLevel={15} minZoomLevel={18}
customMapStyle={[ customMapStyle={[
{ {
featureType: "poi", featureType: "poi",
@ -91,7 +91,6 @@ export default function Home() {
<UrlTile <UrlTile
urlTemplate={urlProvider} urlTemplate={urlProvider}
shouldReplaceMapContent={true} shouldReplaceMapContent={true}
tileCachePath=""
maximumZ={19} maximumZ={19}
flipY={false} flipY={false}
zIndex={1} zIndex={1}
@ -127,7 +126,7 @@ export default function Home() {
zoomEnabled={false} zoomEnabled={false}
rotateEnabled={false} rotateEnabled={false}
followsUserLocation={true} followsUserLocation={true}
minZoomLevel={15} minZoomLevel={18}
initialRegion={{ initialRegion={{
latitude: location.coords.latitude, latitude: location.coords.latitude,
longitude: location.coords.longitude, longitude: location.coords.longitude,