egeloen / ivory-google-map

Google Map API v3 integration for PHP 5.6+.
MIT License
325 stars 185 forks source link

Static map styles #229

Closed jrswgtr closed 7 years ago

jrswgtr commented 7 years ago

I am wondering if i can generate a static map with custom styles. I cannot find anything in the documentation or source code. Thank you in advance.

egeloen commented 7 years ago

@jrswgtr Everything is supported in the static map... except custom styles... :(

jrswgtr commented 7 years ago

@egeloen Thanks for your reply. I guess i will have to look for a different solution.

jrswgtr commented 7 years ago

@egeloen To me it does not seem too hard to build this feature. At the moment I am quite busy but I will be looking into it and maybe in the future I can contribute.

egeloen commented 7 years ago

:+1: It is not hard but consume time that I have not right now...

jrswgtr commented 7 years ago

I understand. Great work anyway, love the library!

jrswgtr commented 7 years ago

I wrote this little class to generate a query string and put it after the request URL. Not the mos elegant solution, but it did the job for me! StyleBuilder.php.zip

egeloen commented 7 years ago

@jrswgtr Thanks, are you OK if I take your work and integrate it in the library? I will probably tweak it but seems a good start :)

jrswgtr commented 7 years ago

@egeloen Sure, it would be an honor! I am looking forward to the result ;-)