Questions tagged [ui-leaflet]

AngularJS directive for the Leaflet Javascript Library.

This directive allows you to embed a map on your AngularJS application and interact bi-directionally with it via the AngularJS scope and the leaflet map library API.

20 questions
0
votes
0 answers

Leaflet map not rendering in Shiny

Leaflet map not rendering for the below code. Also state how the map should fit to the width of the box in shiny dashboard. It retrieves the tweets but not rendering. server.R mapPlot <- function(searchTerm, maxTweets, lang, lat, long, rad){ …
Solomon AathiRaj
  • 119
  • 1
  • 10
0
votes
1 answer

How to update 'defaults' in leaflet directive?

I am using leaflet directive. I set defaults for map like: defaults: { tileLayer: "http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png", scrollWheelZoom: false } And later I want to update…
0
votes
1 answer

Best way to make marker resizable in leaflet

I am trying to resize my markers every time the map is zoomed in or out. Currently I am using this approach: Iterate all markers in zoomend method. get current icon size Perform some calculation to get the new marker size according the zoom…
New Bee
  • 1,007
  • 4
  • 18
  • 34
0
votes
1 answer

using Leaflet.Graticule with angular-leaflet-directive

I am at a loss to understand how to integrate Leaflet.Graticule into a ui-leaflet/angular-leaflet-directive application. Any pointers as to how this should be done would be much appreciated. EDIT: To extend the answer from iH8 a little bit, I also…
Leif Jantzen
  • 387
  • 4
  • 14
0
votes
1 answer

update markers when not watched

In angular-leaflet-directive is there a way how to update markers and paths on the map when we switch off the $watch using markersWatchOptions?
Amio.io
  • 20,677
  • 15
  • 82
  • 117
1
2