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 @@ /> -