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

Map Types #255

Open
dcooley opened this issue Aug 9, 2022 · 0 comments
Open

Map Types #255

dcooley opened this issue Aug 9, 2022 · 0 comments

Comments

@dcooley
Copy link
Collaborator

dcooley commented Aug 9, 2022

Add custom MapTypes - https://developers.google.com/maps/documentation/javascript/maptypes


There's a proof-of-concept on branch issue25 . The tricky bit is how to add Map Type buttons to the control panel:

window[map_id + 'map'].setOptions({
  mapTypeControlOptions: { mapTypeIds: ["image","satellite"]}
});

Do we overwrite the "Map" one, or keep it? How do we let the user chose?

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

No branches or pull requests

1 participant