{"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":"2023-05-25T21:42:43","modified_gmt":"2023-05-25T20:42:43","slug":"maps","status":"publish","type":"page","link":"https:\/\/webdev.vika.no\/?page_id=551","title":{"rendered":"Maps"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p>[vc_row][vc_column][vc_custom_heading text=&raquo;Maps Shortcodes&raquo; use_theme_fonts=&raquo;yes&raquo; el_class=&raquo;shorter&raquo;][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=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&raquo;Full Width&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;][vc_empty_space height=&raquo;20px&raquo;][\/vc_column][\/vc_row][vc_row full_width=&raquo;stretch_row_content_no_spaces&raquo;][vc_column]<div id='wrap_map_6a6e06e9c367b' class='porto-map-wrapper porto-adjust-bottom-margin ' style='height:400px;'><div id='map_6a6e06e9c367b' 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_6a6e06e9c367b = null;\r\n\t\t\tvar coordinate_map_6a6e06e9c367b;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6a6e06e9c367b=new google.maps.LatLng(40.75198, 10.694469);\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_6a6e06e9c367b,\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_6a6e06e9c367b = new google.maps.Map(document.getElementById('map_6a6e06e9c367b'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6a6e06e9c367b = new google.maps.Marker({\r\n\t\t\t\t\t\tposition: new google.maps.LatLng(40.75198, 10.694469),\r\n\t\t\t\t\t\tanimation:  google.maps.Animation.DROP,\r\n\t\t\t\t\t\tmap: map_map_6a6e06e9c367b,\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_6a6e06e9c367b, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c367b, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c367b, 'resize');\r\n\t\t\t\tif(map_map_6a6e06e9c367b!=null) {\r\n\t\t\t\t\tmap_map_6a6e06e9c367b.setCenter(coordinate_map_6a6e06e9c367b);\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_6a6e06e9c367b).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_6a6e06e9c367b.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6a6e06e9c367b.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6a6e06e9c367b.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=&raquo;20px&raquo;][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][vc_custom_heading text=&raquo;Full Width (Inside Container)&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;]<div id='wrap_map_6a6e06e9c387d' class='porto-map-wrapper porto-adjust-bottom-margin ' style='height:400px;'><div id='map_6a6e06e9c387d' 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_6a6e06e9c387d = null;\r\n\t\t\tvar coordinate_map_6a6e06e9c387d;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6a6e06e9c387d=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_6a6e06e9c387d,\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_6a6e06e9c387d = new google.maps.Map(document.getElementById('map_6a6e06e9c387d'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6a6e06e9c387d = 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_6a6e06e9c387d,\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_6a6e06e9c387d, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c387d, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c387d, 'resize');\r\n\t\t\t\tif(map_map_6a6e06e9c387d!=null) {\r\n\t\t\t\t\tmap_map_6a6e06e9c387d.setCenter(coordinate_map_6a6e06e9c387d);\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_6a6e06e9c387d).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_6a6e06e9c387d.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6a6e06e9c387d.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6a6e06e9c387d.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=&raquo;20px&raquo;][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column width=&raquo;1\/2&#8243;][vc_custom_heading text=&raquo;Markers&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;]<div id='wrap_map_6a6e06e9c3a57' class='porto-map-wrapper porto-adjust-bottom-margin ' style='height:400px;'><div id='map_6a6e06e9c3a57' 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_6a6e06e9c3a57 = null;\r\n\t\t\tvar coordinate_map_6a6e06e9c3a57;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6a6e06e9c3a57=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_6a6e06e9c3a57,\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_6a6e06e9c3a57 = new google.maps.Map(document.getElementById('map_6a6e06e9c3a57'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6a6e06e9c3a57 = 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_6a6e06e9c3a57,\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_6a6e06e9c3a57, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3a57, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3a57, 'resize');\r\n\t\t\t\tif(map_map_6a6e06e9c3a57!=null) {\r\n\t\t\t\t\tmap_map_6a6e06e9c3a57.setCenter(coordinate_map_6a6e06e9c3a57);\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_6a6e06e9c3a57).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_6a6e06e9c3a57.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3a57.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3a57.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=&raquo;20px&raquo;][\/vc_column][vc_column width=&raquo;1\/2&#8243;][vc_custom_heading text=&raquo;Custom Controls&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;]<div id='wrap_map_6a6e06e9c3b5f' class='porto-map-wrapper porto-adjust-bottom-margin ' style='height:400px;'><div id='map_6a6e06e9c3b5f' 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_6a6e06e9c3b5f = null;\r\n\t\t\tvar coordinate_map_6a6e06e9c3b5f;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6a6e06e9c3b5f=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_6a6e06e9c3b5f,\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_6a6e06e9c3b5f = new google.maps.Map(document.getElementById('map_6a6e06e9c3b5f'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6a6e06e9c3b5f = 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_6a6e06e9c3b5f,\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_6a6e06e9c3b5f, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3b5f, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3b5f, 'resize');\r\n\t\t\t\tif(map_map_6a6e06e9c3b5f!=null) {\r\n\t\t\t\t\tmap_map_6a6e06e9c3b5f.setCenter(coordinate_map_6a6e06e9c3b5f);\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_6a6e06e9c3b5f).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_6a6e06e9c3b5f.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3b5f.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3b5f.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=&raquo;20px&raquo;][\/vc_column][\/vc_row][vc_row][vc_column][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column width=&raquo;1\/2&#8243;][vc_custom_heading text=&raquo;Custom Style&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;]<div id='wrap_map_6a6e06e9c3d1d' class='porto-map-wrapper porto-adjust-bottom-margin ' style='height:400px;'><div id='map_6a6e06e9c3d1d' 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_6a6e06e9c3d1d = null;\r\n\t\t\tvar coordinate_map_6a6e06e9c3d1d;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6a6e06e9c3d1d=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_6a6e06e9c3d1d,\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_6a6e06e9c3d1d = new google.maps.Map(document.getElementById('map_6a6e06e9c3d1d'),mapOptions);map_map_6a6e06e9c3d1d.mapTypes.set('map_style', styledMap);\r\n\t\t\t\t\t\t\t map_map_6a6e06e9c3d1d.setMapTypeId('map_style');\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6a6e06e9c3d1d = 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_6a6e06e9c3d1d,\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_6a6e06e9c3d1d, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3d1d, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3d1d, 'resize');\r\n\t\t\t\tif(map_map_6a6e06e9c3d1d!=null) {\r\n\t\t\t\t\tmap_map_6a6e06e9c3d1d.setCenter(coordinate_map_6a6e06e9c3d1d);\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_6a6e06e9c3d1d).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_6a6e06e9c3d1d.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3d1d.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3d1d.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=&raquo;20px&raquo;][\/vc_column][vc_column width=&raquo;1\/2&#8243;][vc_custom_heading text=&raquo;With Borders&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;]<div id='wrap_map_6a6e06e9c3e3e' class='porto-map-wrapper porto-adjust-bottom-margin gmap-border' style='height:400px;'><div id='map_6a6e06e9c3e3e' 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_6a6e06e9c3e3e = null;\r\n\t\t\tvar coordinate_map_6a6e06e9c3e3e;\r\n\t\t\ttry {\r\n\t\t\t\tcoordinate_map_6a6e06e9c3e3e=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_6a6e06e9c3e3e,\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_6a6e06e9c3e3e = new google.maps.Map(document.getElementById('map_6a6e06e9c3e3e'),mapOptions);\r\n\t\t\t\t\t\tvar x = 'on';\r\n\t\t\t\t\t\tvar marker_map_6a6e06e9c3e3e = 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_6a6e06e9c3e3e,\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_6a6e06e9c3e3e, 'click', toggleBounce);}\r\n\t\t\tcatch(e){};\r\n\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3e3e, 'resize');\r\n\t\t\t$(window).on('resize', function(){\r\n\t\t\t\tgoogle.maps.event.trigger(map_map_6a6e06e9c3e3e, 'resize');\r\n\t\t\t\tif(map_map_6a6e06e9c3e3e!=null) {\r\n\t\t\t\t\tmap_map_6a6e06e9c3e3e.setCenter(coordinate_map_6a6e06e9c3e3e);\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_6a6e06e9c3e3e).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_6a6e06e9c3e3e.getAnimation() != null) {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3e3e.setAnimation(null);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tmarker_map_6a6e06e9c3e3e.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=&raquo;20px&raquo;][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>[vc_row][vc_column][vc_custom_heading text=&raquo;Maps Shortcodes&raquo; use_theme_fonts=&raquo;yes&raquo; el_class=&raquo;shorter&raquo;][vc_column_text]You can build with Visual Composer Google Map, Ultimate Addons Google Map shortcodes.[\/vc_column_text][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&raquo;Full Width&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;][vc_empty_space height=&raquo;20px&raquo;][\/vc_column][\/vc_row][vc_row full_width=&raquo;stretch_row_content_no_spaces&raquo;][vc_column][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&raquo;20px&raquo;][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][vc_custom_heading text=&raquo;Full Width (Inside Container)&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column][vc_empty_space height=&raquo;20px&raquo;][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column width=&raquo;1\/2&#8243;][vc_custom_heading text=&raquo;Markers&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;][vc_empty_space height=&raquo;20px&raquo;][\/vc_column][vc_column width=&raquo;1\/2&#8243;][vc_custom_heading text=&raquo;Custom Controls&raquo; font_container=&raquo;tag:h4|text_align:left&raquo; use_theme_fonts=&raquo;yes&raquo;][vc_empty_space height=&raquo;20px&raquo;][\/vc_column][\/vc_row][vc_row][vc_column][vc_separator color=&raquo;custom&raquo; gap=&raquo;tall&raquo; gradient=&raquo;yes&raquo;][\/vc_column][\/vc_row][vc_row][vc_column width=&raquo;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":{"footnotes":""},"class_list":["post-551","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/webdev.vika.no\/index.php?rest_route=\/wp\/v2\/pages\/551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webdev.vika.no\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/webdev.vika.no\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/webdev.vika.no\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webdev.vika.no\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=551"}],"version-history":[{"count":2,"href":"https:\/\/webdev.vika.no\/index.php?rest_route=\/wp\/v2\/pages\/551\/revisions"}],"predecessor-version":[{"id":3725,"href":"https:\/\/webdev.vika.no\/index.php?rest_route=\/wp\/v2\/pages\/551\/revisions\/3725"}],"wp:attachment":[{"href":"https:\/\/webdev.vika.no\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}