Leaflet will become even better if you add …

draw icon with canvas

I want the size and content of icon should be depend of zoom.

same L.TileLayer.Canvas but for icon.
I think about something like:
var canvasMarker = new L.Marker.Canvas(<op>);
canvasMarker.drawIcon = function(canvas,zoom){
var context = canvas.getContext("2d");
context....// work here
}

48 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Anonymous shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base