Commit 6824e5640d773d85599dc5cb0d112cbc75952789
1 parent
a3e5f2152b
Exists in
master
ok nombre directiva
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
src/js/osm-directive.js
| 1 | -angular.module('focaLogisticaPedidoRuta').directive('osma', function() { | |
| 1 | +angular.module('focaLogisticaPedidoRuta').directive('osmPuntoDescarga', function() { | |
| 2 | 2 | return { |
| 3 | 3 | restrict: 'E', |
| 4 | 4 | link: function(scope, el, attrs) { |
| ... | ... | @@ -9,7 +9,7 @@ angular.module('focaLogisticaPedidoRuta').directive('osma', function() { |
| 9 | 9 | L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(scope.map); |
| 10 | 10 | }, |
| 11 | 11 | controller: ['$scope', '$timeout', function($scope, $timeout) { |
| 12 | - //resuelve bug mapa gris | |
| 12 | + //resuelve bug mapa gris en modales | |
| 13 | 13 | $timeout(function() { |
| 14 | 14 | $scope.map.invalidateSize(); |
| 15 | 15 | }, 1000); |