{"id":91,"date":"2019-06-26T00:12:03","date_gmt":"2019-06-25T22:12:03","guid":{"rendered":"https:\/\/downstairs-transfor.000webhostapp.com\/?page_id=91"},"modified":"2020-07-06T02:23:19","modified_gmt":"2020-07-06T02:23:19","slug":"ubicacion","status":"publish","type":"page","link":"https:\/\/chavezsalinas.com\/index.php\/ubicacion\/","title":{"rendered":"UBICACI\u00d3N"},"content":{"rendered":"\n<p>&nbsp;<\/p>\n\n\n<p>        <script>\n        (function () {\n            \/\/ TODO: This could\/should be abstracted so we don't duplicate code in image-shortcode\n            var scriptsSoFar = document.getElementsByTagName('script');\n            var thisScript = scriptsSoFar[scriptsSoFar.length - 1];\n            \/\/ create map HTMLElement\n            var mapElement = document.createElement('div');\n            mapElement.className = 'leaflet-map';\n            mapElement.style.height = \"250px\";\n            mapElement.style.width = \"100%\";\n            \/\/ insert just before this script\n            thisScript.parentNode.insertBefore(mapElement, thisScript);\n            \/\/ push deferred map creation function\n            window.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\n            window.WPLeafletMapPlugin.push(function () {\n                var baseUrl = 'https:\/\/{s}.tile.openstreetmap.org\/{z}\/{x}\/{y}.png',\n                    base = (!baseUrl && window.MQ) ? \n                        MQ.mapLayer() : L.tileLayer(baseUrl, { \n                            subdomains: 'abc',\n                            detectRetina: 0,\n                        }),\n                    options = L.Util.extend({}, {\n                        maxZoom: 20,\n                        minZoom: 0,\n                        layers: [base],\n                        zoomControl: 0,\n                        scrollWheelZoom: 0,\n                        doubleClickZoom: 0,\n                        attributionControl: false\n                    }, {}),\n                    map = L.map(mapElement, options)\n                        .setView([19.377773770946966,-99.17649149894716],16);\n                if (0) {\n                    map._shouldFitBounds = true;\n                }\n                                    var attControl = L.control.attribution({prefix:false}).addTo(map);\n                                            attControl.addAttribution('<a href=\"http:\/\/leafletjs.com\" title=\"A JS library for interactive maps\">Leaflet<\/a>');\n                                            attControl.addAttribution('\\r\\n\u00a9 <a href=\"http:\/\/www.openstreetmap.org\/copyright\">OpenStreetMap<\/a> contributors');\n                                    window.WPLeafletMapPlugin.maps.push(map);\n            }); \/\/ end add\n        })(); \/\/ end IIFE\n        <\/script>         <script>\n        window.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\n        window.WPLeafletMapPlugin.push(function () {\n            var marker_options = (function () {\n                var _options = {};\n                var iconArrays = [\n                    'iconSize', \n                    'iconAnchor', \n                    'shadowSize', \n                    'shadowAnchor',\n                    'popupAnchor'\n                ];\n                var default_icon = L.Icon.Default.prototype.options;\n                if (_options.iconUrl) {\n                    \/\/ arrays are strings, unfortunately...\n                    for (var i = 0, len = iconArrays.length; i < len; i++) {\n                        var option_name = iconArrays[i],\n                            option = _options[ option_name ];\n                        \/\/ convert \"1,2\" to [1, 2];\n                        if (option) {\n                            var arr = option.join('').split(',');\n                            \/\/ array.map for ie<9\n                            for (var j = 0, lenJ = arr.length; j < lenJ; j++) {\n                                arr[j] = Number(arr[j]);\n                            }\n                            _options[ option_name ] = arr;\n                        }\n                    }\n                    \/\/ default popupAnchor\n                    if (!_options.popupAnchor) {\n                        \/\/ set (roughly) to size of icon\n                        _options.popupAnchor = (function (i_size) {\n                            \/\/ copy array\n                            i_size = i_size.slice();\n                            \n                            \/\/ inverse coordinates\n                            i_size[0] = 0;\n                            i_size[1] *= -1;\n                            \/\/ bottom position on popup is 7px\n                            i_size[1] -= 3;\n                            return i_size;\n                        })(_options.iconSize || default_icon.iconSize);\n                    }\n\n                    _options.icon = new L.Icon( _options );\n                }\n                return _options;\n            })();\n            var draggable = marker_options.draggable;\n            var marker = L.marker(\n                [19.378421545983933,-99.17697429656984], \n                marker_options\n            );\n            var map = window.WPLeafletMapPlugin.getCurrentMap();\n            var is_image = map.is_image_map;\n            var group = window.WPLeafletMapPlugin.getCurrentGroup();\n                        if (draggable) {\n                marker.on('dragend', function () {\n                    var latlng = this.getLatLng(),\n                        lat = latlng.lat,\n                        lng = latlng.lng;\n                    if (is_image) {\n                        console.log('leaflet-marker y=' + lat + ' x=' + lng);\n                    } else {\n                        console.log('leaflet-marker lat=' + lat + ' lng=' + lng);\n                    }\n                });\n            }\n            marker.addTo( group );\n                        window.WPLeafletMapPlugin.markers.push( marker );\n        }); \/\/ end add function\n        <\/script>\n        <\/p>\n\n\n\n<p class=\"has-text-align-center\"><strong>Manzanas No. 8, piso 7, Col. del Valle, Benito Ju\u00e1rez, 03100 CDMX.<br>Tel. (52)-(55)-21-55-70-90<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; Manzanas No. 8, piso 7, Col. del Valle, Benito Ju\u00e1rez, 03100 CDMX.Tel. (52)-(55)-21-55-70-90<\/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-91","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v14.4.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>UBICACI\u00d3N  -<\/title>\n<meta name=\"description\" content=\"UBICACI\u00d3N  -\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/chavezsalinas.com\/index.php\/ubicacion\/\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/chavezsalinas.com\/#website\",\"url\":\"https:\/\/chavezsalinas.com\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/chavezsalinas.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/chavezsalinas.com\/index.php\/ubicacion\/#webpage\",\"url\":\"https:\/\/chavezsalinas.com\/index.php\/ubicacion\/\",\"name\":\"UBICACI\\u00d3N -\",\"isPartOf\":{\"@id\":\"https:\/\/chavezsalinas.com\/#website\"},\"datePublished\":\"2019-06-25T22:12:03+00:00\",\"dateModified\":\"2020-07-06T02:23:19+00:00\",\"description\":\"UBICACI\\u00d3N -\",\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/chavezsalinas.com\/index.php\/ubicacion\/\"]}]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/pages\/91","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/comments?post=91"}],"version-history":[{"count":12,"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/pages\/91\/revisions"}],"predecessor-version":[{"id":783,"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/pages\/91\/revisions\/783"}],"wp:attachment":[{"href":"https:\/\/chavezsalinas.com\/index.php\/wp-json\/wp\/v2\/media?parent=91"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}