Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1111550

    Hi would like to have the Satellite view as default instead roadmap.

    How can I change that? On the menu, I only found a way to add icons and then to choose, but I would like to have Satellite view as default instead roadmap.

    Thanks

    Xavier

    #1111694

    Hey Cthulhus,

    Here are the docs for you

    Best regards,
    Victoria

    #1111698

    Thanks !

    #1111748

    Hi,

    Did you need additional help with this or shall we close?

    Best regards,
    Jordan Shannon

    #1111822

    I style don’t know how to proceed ? I don’t see any example or information about how to change the starting default map from roadmap to Satellite.

    It’s with the CSS ?

    #1111969

    Hi Cthulhus,

    You will need to modify google_maps.php file, located in wp-content > themes > enfold > config-templatebuilder > avia-shortcodes > google_maps folder.
    Search for maptype_id and below it you should see the list of map types.

    In order for the change to be permanent you’ll need to follow this instruction: https://kriesi.at/documentation/enfold/intro-to-layout-builder/#add-elements-to-alb

    Best regards,
    Nikko

    #1112565

    It’s too complicated for me I’m afraid :( I’m not a PHP codde ;( I don’t know what to do one the google_maps.php… Any instruction?

    I did : “Search for maptype_id and below it you should see the list of map types.”

    And indeed I have this :

    “name” => __( “Choose initial map view”, ‘avia_framework’ ),
    “desc” => __( “Choose the initial map view after loading the map”, ‘avia_framework’ ),
    “id” => “maptype_id”,
    “type” => “select”,
    “std” => ”,
    “subtype” => array(
    __( ‘Roadmap’, ‘avia_framework’ ) => ”,
    __( ‘Hybrid’, ‘avia_framework’ ) => ‘HYBRID’,
    __( ‘Satellite’, ‘avia_framework’ ) => ‘SATELLITE’,
    __( ‘Terrain’, ‘avia_framework’ ) => ‘TERRAIN’,

    I tried to invert things but don’t works :(

    Why we simple chose the type map on the option ? Could you send me the modified file please? My customer don’t want the Roadmap type, he want the hybrid type…

    That could be a must have option to have this on the Enfold setting.

    #1112835

    Hi,

    Thank you for the update.

    If that is the case, then you should set the “std” parameter value to “HYBRID” to make the hybrid view as the default map type.

    	"std" => "HYBRID",
    	"subtype" => array(
    	__( 'Roadmap', 'avia_framework' )	=>	”,
    	__( 'Hybrid', 'avia_framework' )	=>	'HYBRID',
    	__( 'Satellite', 'avia_framework' )	=>	'SATELLITE',
    	__( 'Terrain', 'avia_framework' )	=>	'TERRAIN',
    

    Best regards,
    Ismael

    #1117605

    Thanks Ismael and sorry for the late reply

    I’ll test that tomorrow !

    #1117689

    Hi,

    Please keep us updated.

    Best regards,
    Jordan Shannon

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.