Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation for setMapLanguage() #740

Merged
merged 1 commit into from
Nov 4, 2021
Merged

Conversation

m0nac0
Copy link
Collaborator

@m0nac0 m0nac0 commented Nov 4, 2021

Closes #519

@m0nac0 m0nac0 had a problem deploying to ANDROID_CI_DOWNLOADS_TOKEN November 4, 2021 16:36 Failure
@m0nac0 m0nac0 had a problem deploying to ANDROID_CI_DOWNLOADS_TOKEN November 4, 2021 16:36 Failure
Copy link
Collaborator

@felix-ht felix-ht left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@felix-ht felix-ht merged commit f2066fe into master Nov 4, 2021
@m0nac0 m0nac0 deleted the m0-docs-set-map-language branch November 5, 2021 03:24
@hardgit
Copy link

hardgit commented Dec 20, 2023

It has no effect at all!

MapboxMap(
accessToken: "**********************",
onMapCreated: _onMapCreated,
styleString: "mapbox://styles/mapbox/satellite-streets-v11", //卫星地图
initialCameraPosition:
const CameraPosition(target: LatLng(34.72468, 113.6401), zoom: 3.5),
onStyleLoadedCallback: () async {
addCircle(mapController);
mapController.setMapLanguage("name_zh");
},
);

@adplant
Copy link

adplant commented Feb 24, 2024

It has no effect at all!

MapboxMap( accessToken: "**********************", onMapCreated: _onMapCreated, styleString: "mapbox://styles/mapbox/satellite-streets-v11", //卫星地图 initialCameraPosition: const CameraPosition(target: LatLng(34.72468, 113.6401), zoom: 3.5), onStyleLoadedCallback: () async { addCircle(mapController); mapController.setMapLanguage("name_zh"); }, );

Agreed. I've tried with mapController.setMapLanguage("name_ar"); and see no change at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

setMapLanguage() Exception
4 participants