Closed (fixed)
Project:
Leaflet
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Oct 2012 at 16:51 UTC
Updated:
1 Oct 2013 at 14:44 UTC
Doing anything custom with a Leaflet map requires interacting with the map object after it's loaded. A jQuery trigger would be useful for knowing when a map is loaded.
Comments
Comment #1
aaronbaumanThere are already two triggers handling this, in leaflet.drupal.js:
and
Are you running into this issue from Leaflet MarkerCluster?
#2005334: Interaction with Map and Map Features form outside of the Leaflet Markerclustered map
Comment #2
aaronbaumanSee also #2090473: Support leaflet.feature event
Comment #3
sreynen commentedI don't remember the specific context for this request. It looks like the leaflet.map trigger is probably what I needed, and that was added after I made this request, so let's call this fixed.