I want to insert my custom html markup with $scope event handlers to message property of leaflet marker. For example:  App.controller('testController', ['$scope', "leafletEvents", '$compile', 'leafletMarkersHelpers...
I am using angularjs with jqwidgets as a UI Framework and leaflet with angular-leaflet-directive. When I try to put a leaflet map into a jqDockingLayout / jqRibbon, the maptiles of leaflet are not shown properly (grey background instead of tile).  He...
. . .  because the tiles are absolutely positioned within parent containers whose heights are equal to zero.  Here is the directive: https://github.com/tombatossals/angular-leaflet-directive  I'm uncertain as to the appropriate channel by which t...
I have a custom directive that requires the leaflet directive so I can access the controller:  restrict: 'E', require: '^leaflet', scope: {  }, template: "", link: function(scope, element, attrs, controller) {  }   When I use...
I'm pretty new to Angular, and I'm trying to make a little app for learning.  I use the leaflet directive and want to add the NgRoute directive too but I have some errors in the console.   Here is my code :  var app = angular.module('demo...
I am trying to add a custom marker picture but it keeps giving me the standard blue marker. Here's my custom marker definition:  var aMarker = {                         lat:location.lat,                         lng:location.lng,...
I'm attempting to create a custom popup while using the angular-leaflet-directive. I'm opening the popup from the leaflet.draw on:create event.  Here:  map.on('draw:created', function(e) {      layer = e.layer;     drawnItems.addLayer...
I am trying to follow the Leaflet procedure given here  with a great working example to automatically locate use in my Ionic app.  However I have some trouble finding the correct syntax to embeed the code given on the leaflet page with mine.  Thanks...
I tried using a specific arcgis layer with leaflet. However, I do not really know if I use it correctly or missed an important point, as the tiles are not loading and I do not get any error messages. Maybe someone know, what I did wrong / how to solv...
I have to bind js event on a element after it have been shown by changing a $scope variable using ng-show.  After I change the scope I run JS script but the Js is fastest than angular that he miss found some div not shown yet by ng-show.  Here is a p...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.