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}
|
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,
|
||||||
|
|
Loading…
Reference in a new issue