From 6824e5640d773d85599dc5cb0d112cbc75952789 Mon Sep 17 00:00:00 2001 From: Jose Pinto Date: Thu, 17 Jan 2019 13:54:36 -0300 Subject: [PATCH] ok nombre directiva --- src/js/osm-directive.js | 4 ++-- src/views/modal-punto-descarga.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/osm-directive.js b/src/js/osm-directive.js index 19d2c77..91ece3b 100644 --- a/src/js/osm-directive.js +++ b/src/js/osm-directive.js @@ -1,4 +1,4 @@ -angular.module('focaLogisticaPedidoRuta').directive('osma', function() { +angular.module('focaLogisticaPedidoRuta').directive('osmPuntoDescarga', function() { return { restrict: 'E', link: function(scope, el, attrs) { @@ -9,7 +9,7 @@ angular.module('focaLogisticaPedidoRuta').directive('osma', function() { L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(scope.map); }, controller: ['$scope', '$timeout', function($scope, $timeout) { - //resuelve bug mapa gris + //resuelve bug mapa gris en modales $timeout(function() { $scope.map.invalidateSize(); }, 1000); diff --git a/src/views/modal-punto-descarga.html b/src/views/modal-punto-descarga.html index ae13bc5..26517c9 100644 --- a/src/views/modal-punto-descarga.html +++ b/src/views/modal-punto-descarga.html @@ -96,7 +96,7 @@ /> -