Stlye Google Maps…

Home Forums Welcome! Pre-Sales Questions Stlye Google Maps…

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #950257
    Frank Wechsel
    Guest

    Hey 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/3909576

    The 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

    #950279
    Brian
    Member

    Hi,

    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.

    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

    #950289
    Frank Wechsel
    Guest

    Wow, 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,
    Frank

    #950295
    Brian
    Member

    The 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.

    http://tribe.uservoice.com/

    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.

    #960723
    Eric
    Participant

    Hi 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.

    #960757
    Brian
    Member

    Hi 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

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Stlye Google Maps…’ is closed to new replies.