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

Implement local image caching for static maps #23

Open
fireproofsocks opened this issue Feb 13, 2015 · 2 comments
Open

Implement local image caching for static maps #23

fireproofsocks opened this issue Feb 13, 2015 · 2 comments

Comments

@fireproofsocks
Copy link
Member

Basically, we want to have Google generate the static map as desired, then we cache the generated image locally.

See:

Big question is whether we can use the Snappy Maps styles in here: https://developers.google.com/maps/documentation/staticmaps/#StyledMaps

@HarveyEV
Copy link

As map styles that are generated from the map styling sites like snazzymaps are nothing but json, I dropped them in a system stetting and call gmarker.map_styles and pulled into props array in the snippet. Then I added a placeholder in the gmarkerhead chunk and done. Simple to do the same for gmaps I guess.

Ill fork it and put my changes in so you can see.

Working on my dev site: http://c0059.paas1.tx.modxcloud.com/highlight-event.html

@HarveyEV
Copy link

Nevermind. Just looked at the latest code and see something similar;) GG

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

No branches or pull requests

2 participants