question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Leaflet 1.0-dev support

See original GitHub issue

Hello.

Due to massive api update in Leaflet 1.0, plugin is not working. Error: Uncaught TypeError: this.callInitHooks is not a function

Do you plan to add support for 1.0?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

4reactions
chugcupcommented, Nov 8, 2016

I had this requirement in my app so I went ahead and fixed up the code to use the new internal _layers format.

https://github.com/ismyrnow/Leaflet.groupedlayercontrol/pull/42

I had another app that still used 0.7.3 so I verified it would maintain backwards-compatibility.

1reaction
ismyrnowcommented, Oct 25, 2016

I have an open PR that is ready to be merged, but I’m in the process of moving to another state (packing the truck tomorrow!) and haven’t had a chance to sit down and do it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Added support for Leaflet 1.0+ by chugcup · Pull Request #42
Starting in Leaflet 1.0, the L.Control class stores current layers as an. Array ([]) versus an id-mapped Object ({}). This caused issues with...
Read more >
Leaflet Usage Introduction - Alibaba Cloud News Network
Chapter II leaflet version and file 2.1 introduction ... Leaflet 1.0-dev ... The leaflet build system provides technical support from the node. JS...
Read more >
netzmacht/php-leaflet - Packagist
Support for several Leaflet plugins. Assets handling to autoload all required javascripts and css files from all plugins.
Read more >
Grey leaflet map [#1884692] | Drupal.org
I get a grey map whenever leaflet markercluster is activated OR I use a ... version of the Leaflet module, i.e. not the...
Read more >
Manually building a tile server (16.04.2 LTS) - Switch2OSM
This page describes how to install, setup and configure all the necessary software to operate your own tile server. These step-by-step instructions were ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found