Changing Google map view?
-
Hi UM Support Team,
Right now your googlemap application is set to the default map view. But as you may well know, there are other types of views that are as important such as hybrid and satellite.
Could you kindly tell us how we could change from map view to satellite view?
Here is your code at/wp-content/plugins/ultimate-member/core/um-filters-fields.php:
/*** *** @outputs a google map ***/ add_filter('um_profile_field_filter_hook__googlemap', 'um_profile_field_filter_hook__googlemap', 99, 2); function um_profile_field_filter_hook__googlemap( $value, $data ) { $value = '<div class="um-googlemap"> <iframe width="600" height="450" frameborder="0" style="border:0" src="https://maps.google.com/maps?q=' . urlencode( $value ) . '&output=embed"></iframe> </div>'; return $value; }
Many thanks in advance!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Changing Google map view?’ is closed to new replies.