Home › Forums › Welcome! › Pre-Sales Questions › Stlye Google Maps…
- This topic has 5 replies, 2 voices, and was last updated 10 years, 11 months ago by
Brian.
-
AuthorPosts
-
March 23, 2015 at 2:06 pm #950257
Frank Wechsel
GuestHey there,
I am thinking about using The Events Calendar Pro for my Website to show Events on Maps. So far so good!
One question. Is it possible to style the Maps in Color/Skin?
I am already using a plugin witch has some predefined Styles:
http://codecanyon.net/item/responsive-styled-google-maps-wordpress-plugin/full_screen_preview/3909576The styles there are hooked in a php file in a form like this:
function getStyleString($style) { $styleString; // If the style is given with a hex color in the shortcode, colot the map with that specific hex color if (strpos($style, '#') === 0) { $styleString = '[{ "stylers": [{"hue": "' . $style . '" } ] } ]'; return $styleString; } switch ($style) { case '1': $styleString = '[{"stylers":[{"featureType":"all"}]}]'; break; case '2': $styleString = '[{"stylers":[{"featureType":"all"},{"saturation":-100},{"gamma":0.50},{"lightness":30}]}]'; break; case '3': $styleString = '[{"stylers":[{"invert_lightness":true},{"visibility":"on"}]}]'; break; case '4': $styleString = '[{"stylers":[{"invert_lightness":true},{"hue":"#0000b0"},{"saturation":-30}]}]'; break;Is it possible to style the events calendar map similar to the styled maps I already use?
BR,
Frank
March 23, 2015 at 3:02 pm #950279Brian
MemberHi,
Thanks for the interest in the Events Calendar Pro.
We do not have a feature to change the style of the Google Maps.
It could be possible with some customization that would even work on free version of the Events Calendar.
We have our themer’s guide that might help you get started on customizing:
https://theeventscalendar.com/knowledgebase/themers-guide/
Beyond that we cannot provide much more help even for Pro customers.
Thanks
March 23, 2015 at 3:18 pm #950289Frank Wechsel
GuestWow, thanks for your quick answer.
So no one ever asked before if it is possible to modify the style of the map?
Maybe this might be a good feature for future versions?I will have a look at the guide, but to test it, I think I will have to buy the Pro Plugin.
The Non Pro doesn’t have any map features, right?No special guide or examples exists how to put styles in one go the map php files?
BR,
FrankMarch 23, 2015 at 4:07 pm #950295Brian
MemberThe Single Events View has map in the Free Version. So no need to test it in Pro. Pro has the Map View though if you are looking to modify that one.
We take all requests for new features from our User Voice Page and looking through that I did not find any requests to change the map styling.
If you would like to request that feature please head to our UserVoice Page and add your own or upvote that feature as they will increase the chances of it being added to a future version.
We use this function to get the maps:
tribe_get_embedded_map
https://theeventscalendar.com/function/tribe_get_embedded_map/
That may help you get started on the customization.
And unfortunately, we have no other coding to provide on this.
May 5, 2015 at 7:27 pm #960723Eric
ParticipantHi Frank,
You can style google maps with the snazzy maps API. I have built custom shortcodes to include this Worpdress themes before, but today I found they have a wordpress plugin, where you can select from pre-made styles: https://snazzymaps.com/plugins . It has worked nicely with the event calendar maps in the little bit of time I have been playing around with it. It will automatically apply those styles to any google maps detected.
May 6, 2015 at 5:45 am #960757Brian
MemberHi Eric,
Thanks for sharing that plugin.
That would work to add a shortcode to each event for an event or venue content area, but would not modify our maps in the Map view or on Single Events and Venues.
I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.
Thanks
-
AuthorPosts
- The topic ‘Stlye Google Maps…’ is closed to new replies.
