-
AuthorPosts
-
June 19, 2019 at 10:00 am #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
June 19, 2019 at 8:19 pm #1111694June 19, 2019 at 8:20 pm #1111698Thanks !
June 20, 2019 at 12:42 am #1111748Hi,
Did you need additional help with this or shall we close?
Best regards,
Jordan ShannonJune 20, 2019 at 7:04 am #1111822I 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 ?
June 20, 2019 at 3:37 pm #1111969Hi 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,
NikkoJune 22, 2019 at 12:11 pm #1112565It’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.
June 24, 2019 at 5:53 am #1112835Hi,
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,
IsmaelJuly 10, 2019 at 9:58 pm #1117605Thanks Ismael and sorry for the late reply
I’ll test that tomorrow !
July 11, 2019 at 6:41 am #1117689Hi,
Please keep us updated.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.