{"id":551,"date":"2016-07-05T02:14:53","date_gmt":"2016-07-05T02:14:53","guid":{"rendered":"http:\/\/sw-themes.com\/porto_dummy\/?page_id=551"},"modified":"2016-07-05T02:14:53","modified_gmt":"2016-07-05T02:14:53","slug":"maps","status":"publish","type":"page","link":"https:\/\/siamask.co.th\/th\/maps\/","title":{"rendered":"Maps"},"content":{"rendered":"<p>[vc_row][vc_column][vc_custom_heading text=&#8221;Maps Shortcodes&#8221; use_theme_fonts=&#8221;yes&#8221; el_class=&#8221;shorter&#8221;][vc_column_text]You can build with <strong style=\"\">Visual Composer Google Map, Ultimate Addons Google Map<\/strong> shortcodes.[\/vc_column_text][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Full Width&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_empty_space height=&#8221;20px&#8221;][\/vc_column][\/vc_row][vc_row full_width=&#8221;stretch_row_content_no_spaces&#8221;][vc_column]<div id='wrap_map_6add4fc698034' class='porto-map-wrapper  ' style='height:400px;'><div id='map_6add4fc698034' data-map_override='0' class='porto_google_map' style='width:100%;height:400px;'><\/div><\/div><script>\r\n( function() {\r\n\tvar porto_init_map = function() {\r\n\t\t( function( $ ) {\r\n\t\t\t'use strict';\r\n\t\t\tif (typeof google == 'undefined') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar map_map_6add4fc698034 = null;\r\n\t\t\tvar coordinate_map_6add4fc698034;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6add4fc698034=new google.maps.LatLng(40.75198, -73.96978);\r\n\t\t\t\tvar isDraggable = $(document).width() > 640 ? true : true;\r\n\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\tzoom: 16,\r\n\t\t\t\t\tcenter: coordinate_map_6add4fc698034,\r\n\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\tzoomControl: true,\r\n\t\t\t\t\tscrollwheel: false,\r\n\t\t\t\t\tdraggable: isDraggable,\r\n\t\t\t\t\tzoomControlOptions: {\r\n\t\t\t\t\t\tposition: google.maps.ControlPosition.RIGHT_BOTTOM\r\n\t\t\t\t\t},mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_6add4fc698034 = new google.maps.Map(document.getElementById('map_6add4fc698034'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6add4fc698034 = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, -73.96978),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6add4fc698034,\r\n\t\t\t\t\t\ticon: ''\r\n\t\t\t\t\t});\r\n\t\t\t\t\tgoogle.maps.event.addListener(marker_map_6add4fc698034, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698034, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698034, 'resize');\r\n\t\t\t\tif(map_map_6add4fc698034!=null) {\r\n\t\t\t\t\tmap_map_6add4fc698034.setCenter(coordinate_map_6add4fc698034);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-tabs').on('tabsactivate', function(event, ui) {\r\n\t\t\t   if($(this).find('.porto-map-wrapper').length > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-accordion').on('accordionactivate', function(event, ui) {\r\n\t\t\t\tif($(this).find('.porto-map-wrapper').length > 0) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('onPortoModalPopupOpen', function(){\r\n\t\t\t\tif($(map_map_6add4fc698034).parents('.porto_modal-content')) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfunction toggleBounce() {\r\n\t\t\t\tif (marker_map_6add4fc698034.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6add4fc698034.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6add4fc698034.setAnimation(google.maps.Animation.BOUNCE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} )( window.jQuery );\r\n\t};\r\n\r\n\tif ( window.jQuery ) {\r\n\t\tjQuery( document ).ready(function() {\r\n\t\t\tporto_init_map();\r\n\t\t} );\r\n\t} else {\r\n\t\tdocument.addEventListener( 'DOMContentLoaded', porto_init_map );\r\n\t}\r\n\r\n\twindow.addEventListener( 'load', function() {\r\n\t\tsetTimeout( function() {\r\n\t\t\tjQuery( window ).trigger( 'resize' );\r\n\t\t}, 200 );\r\n\t} );\r\n} )();\r\n<\/script>[\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&#8221;20px&#8221;][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][vc_custom_heading text=&#8221;Full Width (Inside Container)&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;]<div id='wrap_map_6add4fc698324' class='porto-map-wrapper  ' style='height:400px;'><div id='map_6add4fc698324' data-map_override='0' class='porto_google_map' style='width:100%;height:400px;'><\/div><\/div><script>\r\n( function() {\r\n\tvar porto_init_map = function() {\r\n\t\t( function( $ ) {\r\n\t\t\t'use strict';\r\n\t\t\tif (typeof google == 'undefined') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar map_map_6add4fc698324 = null;\r\n\t\t\tvar coordinate_map_6add4fc698324;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6add4fc698324=new google.maps.LatLng(40.75198, -73.96978);\r\n\t\t\t\tvar isDraggable = $(document).width() > 640 ? true : true;\r\n\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\tzoom: 16,\r\n\t\t\t\t\tcenter: coordinate_map_6add4fc698324,\r\n\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\tzoomControl: true,\r\n\t\t\t\t\tscrollwheel: false,\r\n\t\t\t\t\tdraggable: isDraggable,\r\n\t\t\t\t\tzoomControlOptions: {\r\n\t\t\t\t\t\tposition: google.maps.ControlPosition.RIGHT_BOTTOM\r\n\t\t\t\t\t},mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_6add4fc698324 = new google.maps.Map(document.getElementById('map_6add4fc698324'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6add4fc698324 = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, -73.96978),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6add4fc698324,\r\n\t\t\t\t\t\ticon: ''\r\n\t\t\t\t\t});\r\n\t\t\t\t\tgoogle.maps.event.addListener(marker_map_6add4fc698324, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698324, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698324, 'resize');\r\n\t\t\t\tif(map_map_6add4fc698324!=null) {\r\n\t\t\t\t\tmap_map_6add4fc698324.setCenter(coordinate_map_6add4fc698324);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-tabs').on('tabsactivate', function(event, ui) {\r\n\t\t\t   if($(this).find('.porto-map-wrapper').length > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-accordion').on('accordionactivate', function(event, ui) {\r\n\t\t\t\tif($(this).find('.porto-map-wrapper').length > 0) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('onPortoModalPopupOpen', function(){\r\n\t\t\t\tif($(map_map_6add4fc698324).parents('.porto_modal-content')) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfunction toggleBounce() {\r\n\t\t\t\tif (marker_map_6add4fc698324.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6add4fc698324.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6add4fc698324.setAnimation(google.maps.Animation.BOUNCE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} )( window.jQuery );\r\n\t};\r\n\r\n\tif ( window.jQuery ) {\r\n\t\tjQuery( document ).ready(function() {\r\n\t\t\tporto_init_map();\r\n\t\t} );\r\n\t} else {\r\n\t\tdocument.addEventListener( 'DOMContentLoaded', porto_init_map );\r\n\t}\r\n\r\n\twindow.addEventListener( 'load', function() {\r\n\t\tsetTimeout( function() {\r\n\t\t\tjQuery( window ).trigger( 'resize' );\r\n\t\t}, 200 );\r\n\t} );\r\n} )();\r\n<\/script>[\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&#8221;20px&#8221;][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading text=&#8221;Markers&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;]<div id='wrap_map_6add4fc6985d9' class='porto-map-wrapper  ' style='height:400px;'><div id='map_6add4fc6985d9' data-map_override='0' class='porto_google_map' style='width:100%;height:400px;'><\/div><\/div><script>\r\n( function() {\r\n\tvar porto_init_map = function() {\r\n\t\t( function( $ ) {\r\n\t\t\t'use strict';\r\n\t\t\tif (typeof google == 'undefined') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar map_map_6add4fc6985d9 = null;\r\n\t\t\tvar coordinate_map_6add4fc6985d9;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6add4fc6985d9=new google.maps.LatLng(40.75198, -73.96978);\r\n\t\t\t\tvar isDraggable = $(document).width() > 640 ? true : true;\r\n\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\tzoom: 16,\r\n\t\t\t\t\tcenter: coordinate_map_6add4fc6985d9,\r\n\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\tzoomControl: true,\r\n\t\t\t\t\tscrollwheel: false,\r\n\t\t\t\t\tdraggable: isDraggable,\r\n\t\t\t\t\tzoomControlOptions: {\r\n\t\t\t\t\t\tposition: google.maps.ControlPosition.RIGHT_BOTTOM\r\n\t\t\t\t\t},mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_6add4fc6985d9 = new google.maps.Map(document.getElementById('map_6add4fc6985d9'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6add4fc6985d9 = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, -73.96978),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6add4fc6985d9,\r\n\t\t\t\t\t\ticon: ''\r\n\t\t\t\t\t});\r\n\t\t\t\t\tgoogle.maps.event.addListener(marker_map_6add4fc6985d9, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6add4fc6985d9, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6add4fc6985d9, 'resize');\r\n\t\t\t\tif(map_map_6add4fc6985d9!=null) {\r\n\t\t\t\t\tmap_map_6add4fc6985d9.setCenter(coordinate_map_6add4fc6985d9);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-tabs').on('tabsactivate', function(event, ui) {\r\n\t\t\t   if($(this).find('.porto-map-wrapper').length > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-accordion').on('accordionactivate', function(event, ui) {\r\n\t\t\t\tif($(this).find('.porto-map-wrapper').length > 0) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('onPortoModalPopupOpen', function(){\r\n\t\t\t\tif($(map_map_6add4fc6985d9).parents('.porto_modal-content')) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfunction toggleBounce() {\r\n\t\t\t\tif (marker_map_6add4fc6985d9.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6add4fc6985d9.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6add4fc6985d9.setAnimation(google.maps.Animation.BOUNCE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} )( window.jQuery );\r\n\t};\r\n\r\n\tif ( window.jQuery ) {\r\n\t\tjQuery( document ).ready(function() {\r\n\t\t\tporto_init_map();\r\n\t\t} );\r\n\t} else {\r\n\t\tdocument.addEventListener( 'DOMContentLoaded', porto_init_map );\r\n\t}\r\n\r\n\twindow.addEventListener( 'load', function() {\r\n\t\tsetTimeout( function() {\r\n\t\t\tjQuery( window ).trigger( 'resize' );\r\n\t\t}, 200 );\r\n\t} );\r\n} )();\r\n<\/script>[vc_empty_space height=&#8221;20px&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading text=&#8221;Custom Controls&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;]<div id='wrap_map_6add4fc698704' class='porto-map-wrapper  ' style='height:400px;'><div id='map_6add4fc698704' data-map_override='0' class='porto_google_map' style='width:100%;height:400px;'><\/div><\/div><script>\r\n( function() {\r\n\tvar porto_init_map = function() {\r\n\t\t( function( $ ) {\r\n\t\t\t'use strict';\r\n\t\t\tif (typeof google == 'undefined') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar map_map_6add4fc698704 = null;\r\n\t\t\tvar coordinate_map_6add4fc698704;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6add4fc698704=new google.maps.LatLng(40.75198, -73.96978);\r\n\t\t\t\tvar isDraggable = $(document).width() > 640 ? true : true;\r\n\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\tzoom: 16,\r\n\t\t\t\t\tcenter: coordinate_map_6add4fc698704,\r\n\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\tzoomControl: false,\r\n\t\t\t\t\tscrollwheel: false,\r\n\t\t\t\t\tdraggable: isDraggable,\r\n\t\t\t\t\tzoomControlOptions: {\r\n\t\t\t\t\t\tposition: google.maps.ControlPosition.RIGHT_BOTTOM\r\n\t\t\t\t\t},mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_6add4fc698704 = new google.maps.Map(document.getElementById('map_6add4fc698704'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6add4fc698704 = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, -73.96978),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6add4fc698704,\r\n\t\t\t\t\t\ticon: ''\r\n\t\t\t\t\t});\r\n\t\t\t\t\tgoogle.maps.event.addListener(marker_map_6add4fc698704, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698704, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698704, 'resize');\r\n\t\t\t\tif(map_map_6add4fc698704!=null) {\r\n\t\t\t\t\tmap_map_6add4fc698704.setCenter(coordinate_map_6add4fc698704);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-tabs').on('tabsactivate', function(event, ui) {\r\n\t\t\t   if($(this).find('.porto-map-wrapper').length > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-accordion').on('accordionactivate', function(event, ui) {\r\n\t\t\t\tif($(this).find('.porto-map-wrapper').length > 0) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('onPortoModalPopupOpen', function(){\r\n\t\t\t\tif($(map_map_6add4fc698704).parents('.porto_modal-content')) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfunction toggleBounce() {\r\n\t\t\t\tif (marker_map_6add4fc698704.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6add4fc698704.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6add4fc698704.setAnimation(google.maps.Animation.BOUNCE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} )( window.jQuery );\r\n\t};\r\n\r\n\tif ( window.jQuery ) {\r\n\t\tjQuery( document ).ready(function() {\r\n\t\t\tporto_init_map();\r\n\t\t} );\r\n\t} else {\r\n\t\tdocument.addEventListener( 'DOMContentLoaded', porto_init_map );\r\n\t}\r\n\r\n\twindow.addEventListener( 'load', function() {\r\n\t\tsetTimeout( function() {\r\n\t\t\tjQuery( window ).trigger( 'resize' );\r\n\t\t}, 200 );\r\n\t} );\r\n} )();\r\n<\/script>[vc_empty_space height=&#8221;20px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading text=&#8221;Custom Style&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;]<div id='wrap_map_6add4fc6989c3' class='porto-map-wrapper  ' style='height:400px;'><div id='map_6add4fc6989c3' data-map_override='0' class='porto_google_map' style='width:100%;height:400px;'><\/div><\/div><script>\r\n( function() {\r\n\tvar porto_init_map = function() {\r\n\t\t( function( $ ) {\r\n\t\t\t'use strict';\r\n\t\t\tif (typeof google == 'undefined') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar map_map_6add4fc6989c3 = null;\r\n\t\t\tvar coordinate_map_6add4fc6989c3;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6add4fc6989c3=new google.maps.LatLng(40.75198, -73.96978);\r\n\t\t\t\tvar isDraggable = $(document).width() > 640 ? true : true;\r\n\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\tzoom: 16,\r\n\t\t\t\t\tcenter: coordinate_map_6add4fc6989c3,\r\n\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\tzoomControl: true,\r\n\t\t\t\t\tscrollwheel: false,\r\n\t\t\t\t\tdraggable: isDraggable,\r\n\t\t\t\t\tzoomControlOptions: {\r\n\t\t\t\t\t\tposition: google.maps.ControlPosition.RIGHT_BOTTOM\r\n\t\t\t\t\t}, mapTypeControlOptions: {\r\n\t\t\t\t\t\t\tmapTypeIds: [google.maps.MapTypeId.ROADMAP, 'map_style']\r\n\t\t\t\t\t\t}};var styles = [\n    {\n        \"stylers\": [\n            {\n                \"hue\": \"#0088cc\"\n            }\n        ]\n    },\n    {\n        \"featureType\": \"road\",\n        \"elementType\": \"geometry\",\n        \"stylers\": [\n            {\n                \"lightness\": 0\n            },\n            {\n                \"visibility\": \"simplified\"\n            }\n        ]\n    },\n    {\n        \"featureType\": \"road\",\n        \"elementType\": \"labels\",\n        \"stylers\": [\n            {\n                \"visibility\": \"off\"\n            }\n        ]\n    }\n];\r\n\t\t\t\t\t\tvar styledMap = new google.maps.StyledMapType(styles,\r\n\t\t\t\t\t\t\t{name: \"Styled Map\"});var map_map_6add4fc6989c3 = new google.maps.Map(document.getElementById('map_6add4fc6989c3'),mapOptions);map_map_6add4fc6989c3.mapTypes.set('map_style', styledMap);\r\n\t\t\t\t\t\t\t map_map_6add4fc6989c3.setMapTypeId('map_style');\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6add4fc6989c3 = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, -73.96978),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6add4fc6989c3,\r\n\t\t\t\t\t\ticon: ''\r\n\t\t\t\t\t});\r\n\t\t\t\t\tgoogle.maps.event.addListener(marker_map_6add4fc6989c3, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6add4fc6989c3, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6add4fc6989c3, 'resize');\r\n\t\t\t\tif(map_map_6add4fc6989c3!=null) {\r\n\t\t\t\t\tmap_map_6add4fc6989c3.setCenter(coordinate_map_6add4fc6989c3);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-tabs').on('tabsactivate', function(event, ui) {\r\n\t\t\t   if($(this).find('.porto-map-wrapper').length > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-accordion').on('accordionactivate', function(event, ui) {\r\n\t\t\t\tif($(this).find('.porto-map-wrapper').length > 0) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('onPortoModalPopupOpen', function(){\r\n\t\t\t\tif($(map_map_6add4fc6989c3).parents('.porto_modal-content')) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfunction toggleBounce() {\r\n\t\t\t\tif (marker_map_6add4fc6989c3.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6add4fc6989c3.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6add4fc6989c3.setAnimation(google.maps.Animation.BOUNCE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} )( window.jQuery );\r\n\t};\r\n\r\n\tif ( window.jQuery ) {\r\n\t\tjQuery( document ).ready(function() {\r\n\t\t\tporto_init_map();\r\n\t\t} );\r\n\t} else {\r\n\t\tdocument.addEventListener( 'DOMContentLoaded', porto_init_map );\r\n\t}\r\n\r\n\twindow.addEventListener( 'load', function() {\r\n\t\tsetTimeout( function() {\r\n\t\t\tjQuery( window ).trigger( 'resize' );\r\n\t\t}, 200 );\r\n\t} );\r\n} )();\r\n<\/script>[vc_empty_space height=&#8221;20px&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading text=&#8221;With Borders&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;]<div id='wrap_map_6add4fc698b0c' class='porto-map-wrapper  gmap-border' style='height:400px;'><div id='map_6add4fc698b0c' data-map_override='0' class='porto_google_map' style='width:100%;height:400px;'><\/div><\/div><script>\r\n( function() {\r\n\tvar porto_init_map = function() {\r\n\t\t( function( $ ) {\r\n\t\t\t'use strict';\r\n\t\t\tif (typeof google == 'undefined') {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tvar map_map_6add4fc698b0c = null;\r\n\t\t\tvar coordinate_map_6add4fc698b0c;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6add4fc698b0c=new google.maps.LatLng(40.75198, -73.96978);\r\n\t\t\t\tvar isDraggable = $(document).width() > 640 ? true : true;\r\n\t\t\t\tvar mapOptions = {\r\n\t\t\t\t\tzoom: 16,\r\n\t\t\t\t\tcenter: coordinate_map_6add4fc698b0c,\r\n\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\tzoomControl: false,\r\n\t\t\t\t\tscrollwheel: false,\r\n\t\t\t\t\tdraggable: isDraggable,\r\n\t\t\t\t\tzoomControlOptions: {\r\n\t\t\t\t\t\tposition: google.maps.ControlPosition.RIGHT_BOTTOM\r\n\t\t\t\t\t},mapTypeId: google.maps.MapTypeId.ROADMAP,};var map_map_6add4fc698b0c = new google.maps.Map(document.getElementById('map_6add4fc698b0c'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6add4fc698b0c = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, -73.96978),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6add4fc698b0c,\r\n\t\t\t\t\t\ticon: ''\r\n\t\t\t\t\t});\r\n\t\t\t\t\tgoogle.maps.event.addListener(marker_map_6add4fc698b0c, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698b0c, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6add4fc698b0c, 'resize');\r\n\t\t\t\tif(map_map_6add4fc698b0c!=null) {\r\n\t\t\t\t\tmap_map_6add4fc698b0c.setCenter(coordinate_map_6add4fc698b0c);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-tabs').on('tabsactivate', function(event, ui) {\r\n\t\t\t   if($(this).find('.porto-map-wrapper').length > 0)\r\n\t\t\t\t{\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$('.ui-accordion').on('accordionactivate', function(event, ui) {\r\n\t\t\t\tif($(this).find('.porto-map-wrapper').length > 0) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\t$(document).on('onPortoModalPopupOpen', function(){\r\n\t\t\t\tif($(map_map_6add4fc698b0c).parents('.porto_modal-content')) {\r\n\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t$(window).trigger('resize');\r\n\t\t\t\t\t},200);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t\tfunction toggleBounce() {\r\n\t\t\t\tif (marker_map_6add4fc698b0c.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6add4fc698b0c.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6add4fc698b0c.setAnimation(google.maps.Animation.BOUNCE);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} )( window.jQuery );\r\n\t};\r\n\r\n\tif ( window.jQuery ) {\r\n\t\tjQuery( document ).ready(function() {\r\n\t\t\tporto_init_map();\r\n\t\t} );\r\n\t} else {\r\n\t\tdocument.addEventListener( 'DOMContentLoaded', porto_init_map );\r\n\t}\r\n\r\n\twindow.addEventListener( 'load', function() {\r\n\t\tsetTimeout( function() {\r\n\t\t\tjQuery( window ).trigger( 'resize' );\r\n\t\t}, 200 );\r\n\t} );\r\n} )();\r\n<\/script>[vc_empty_space height=&#8221;20px&#8221;][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_custom_heading text=&#8221;Maps Shortcodes&#8221; use_theme_fonts=&#8221;yes&#8221; el_class=&#8221;shorter&#8221;][vc_column_text]You can build with Visual Composer Google Map, Ultimate Addons Google Map shortcodes.[\/vc_column_text][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Full Width&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_empty_space height=&#8221;20px&#8221;][\/vc_column][\/vc_row][vc_row full_width=&#8221;stretch_row_content_no_spaces&#8221;][vc_column][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&#8221;20px&#8221;][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][vc_custom_heading text=&#8221;Full Width (Inside Container)&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&#8221;20px&#8221;][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading text=&#8221;Markers&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_empty_space height=&#8221;20px&#8221;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading text=&#8221;Custom Controls&#8221; font_container=&#8221;tag:h4|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_empty_space height=&#8221;20px&#8221;][\/vc_column][\/vc_row][vc_row][vc_column][vc_separator color=&#8221;custom&#8221; gap=&#8221;tall&#8221; gradient=&#8221;yes&#8221;][\/vc_column][\/vc_row][vc_row][vc_column width=&#8221;1\/2&#8243;][vc_custom_heading [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"content-type":"","footnotes":""},"class_list":["post-551","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/pages\/551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/comments?post=551"}],"version-history":[{"count":0,"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/pages\/551\/revisions"}],"wp:attachment":[{"href":"https:\/\/siamask.co.th\/th\/wp-json\/wp\/v2\/media?parent=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}