mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2024-11-17 06:19:25 +08:00
Some homepage improvements
This commit is contained in:
parent
eb08e02a16
commit
d87f61ec08
1 changed files with 2 additions and 3 deletions
|
@ -76,7 +76,7 @@ export default function Home() {
|
|||
zoomEnabled={false}
|
||||
rotateEnabled={false}
|
||||
followsUserLocation={true}
|
||||
minZoomLevel={15}
|
||||
minZoomLevel={18}
|
||||
customMapStyle={[
|
||||
{
|
||||
featureType: "poi",
|
||||
|
@ -91,7 +91,6 @@ export default function Home() {
|
|||
<UrlTile
|
||||
urlTemplate={urlProvider}
|
||||
shouldReplaceMapContent={true}
|
||||
tileCachePath=""
|
||||
maximumZ={19}
|
||||
flipY={false}
|
||||
zIndex={1}
|
||||
|
@ -127,7 +126,7 @@ export default function Home() {
|
|||
zoomEnabled={false}
|
||||
rotateEnabled={false}
|
||||
followsUserLocation={true}
|
||||
minZoomLevel={15}
|
||||
minZoomLevel={18}
|
||||
initialRegion={{
|
||||
latitude: location.coords.latitude,
|
||||
longitude: location.coords.longitude,
|
||||
|
|
Loading…
Reference in a new issue