GeoDirectory SupportHow do I change properties of map in GD Detail tab? – GeoDirectory Support https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/feed Tue, 24 Feb 2026 03:45:09 +0000 http://bbpress.org/?v=2.5.14-6684 en-US https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8620 <![CDATA[How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8620 Wed, 16 Jul 2014 05:37:57 +0000 purpleedge Can someone remind me where to change the properties of the map in the Detail page Map tab? I can’t seem to find it now?

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8621 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8621 Wed, 16 Jul 2014 05:45:26 +0000 purpleedge I want to change the height and turn off scrollwheel.

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8622 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8622 Wed, 16 Jul 2014 05:46:47 +0000 Guust Widget in sidebar of detail page

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8623 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8623 Wed, 16 Jul 2014 05:55:37 +0000 purpleedge Thanks Guust, does that change the height of the map on the listing Detail Map Tab?

I’ve made some changes to the sidebar and don’t have the GD map there.

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8624 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8624 Wed, 16 Jul 2014 06:35:14 +0000 Guust Not the map tab.
The tab map can be adjusted by the submitter, ie the zoom and type of map.
To adjust the height of the map in the tab, i think you have to do some coding work…
Let’s ask vikas.

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8840 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8840 Thu, 17 Jul 2014 13:45:35 +0000 purpleedge Hi Vikas, do you have any thoughts on this? How can I make the map on the detail tab a bit taller, and how can I turn off mouse-zoom?

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8852 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8852 Thu, 17 Jul 2014 14:29:13 +0000 Vikas Plz write this in ur theme’s functions.php file



add_filter('geodir_map_options_detail_page_map_canvas' , 'geodir_edit_map_options_detail_page_map_canvas');
function geodir_edit_map_options_detail_page_map_canvas($map_option)
{
	//print_r($map_option) ;
	$map_option['width'] = '330px' // change it as per ur wish;
	$map_option['height'] = '200px'; // change it as per ur wish;
	$map_option['scrollwheel'] = 0;
	return $map_option ;
}
]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8853 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8853 Thu, 17 Jul 2014 14:30:03 +0000 Vikas sorry use this one please



add_filter('geodir_map_options_detail_page_map_canvas' , 'geodir_edit_map_options_detail_page_map_canvas');
function geodir_edit_map_options_detail_page_map_canvas($map_option)
{
	//print_r($map_option) ;
	$map_option['width'] = '330px' ;// change it as per ur wish;
	$map_option['height'] = '200px'; // change it as per ur wish;
	$map_option['scrollwheel'] = 0;
	return $map_option ;
}
]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8912 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8912 Thu, 17 Jul 2014 23:23:25 +0000 purpleedge Thanks Vikas, perfect!

]]>
https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8924 <![CDATA[Reply To: How do I change properties of map in GD Detail tab?]]> https://wpgeodirectory.com/support/topic/how-do-i-change-properties-of-map-in-gd-detail-tab/#post-8924 Fri, 18 Jul 2014 01:28:40 +0000 purpleedge Vikas, can you please explain how this works, and how the add_filter function knows which map to apply this to?

I can’t find the $tag ‘geodir_map_options_detail_page_map_canvas’ anywhere?

]]>