angular-ui / ui-leaflet

AngularJS directive to embed an interact with maps managed by Leaflet library
http://angular-ui.github.io/ui-leaflet
Other
315 stars 137 forks source link

Canvas tiles instead of img tiles #165

Open nmccready opened 8 years ago

nmccready commented 8 years ago

From @simonpeters on May 13, 2015 14:31

Is it possible to use canvas tiles instead of img tiles?

I'm having bad performance on mobile because I have to many markers.

Copied from original issue: tombatossals/angular-leaflet-directive#753

nmccready commented 8 years ago

@tombatossals

nmccready commented 8 years ago

From @tombatossals on June 30, 2015 17:52

Mmm... there's a canvas layer in Leaflet, here documented: http://leafletjs.com/reference.html#tilelayer-canvas

But this is a canvas where you are the responsible of drawing things, so you would need to manage your markers inside the canvas, I see it a little difficult.

Any hints?