Flask-GoogleMaps icon indicating copy to clipboard operation
Flask-GoogleMaps copied to clipboard

Is there a way to integrate themes into Flask GoogleMaps?

Open aswinckr opened this issue 7 years ago • 4 comments

I would like to use themes from https://mapstyle.withgoogle.com/ . Is there a way to get this integrated into this plugin?

aswinckr avatar May 28 '17 13:05 aswinckr

interesting, never heard about themes, looks like it is just a json + style args in the url. looks easy to implement. (but not supported yet).

screenshot_2017-05-28_10-49-50

rochacbruno avatar May 28 '17 13:05 rochacbruno

Yep looks fairly simple :) would be great to have the feature in there. 😀

aswinckr avatar May 28 '17 14:05 aswinckr

I could work on it I think. I just have to think about where to add this. From what I understand, for each part of the map (road, etc) a colour is defined in the url, which would make the url very long. Is that ok? Similarly -

  • Do you want to just allow each colour to be set separately, leaving the color choice to the user, or do you want to copy the 'themes' from that site?
  • Similarly, do you also want to offer other options that are used there such as density?

step21 avatar Oct 08 '17 17:10 step21

+1 for this

ar-anvd avatar Mar 31 '18 00:03 ar-anvd