Implement marker cluster.

This commit is contained in:
David Molineus committed 2015-01-21 14:24:22 +01:00
1 parent 3c9d30e1d7
commit 5d1ccb1d54
8 files changed
+320 -47

No files matched your search

+2 -2
View File
@@ -119,8 +119,8 @@ L.Contao = L.Class.extend({
* @param map Pass a map object so that the data loading events are passed to the map.
*/
load: function (hash, type, options, customLayer, map) {
var url = this.createRequestUrl(hash);
var layer = omnivore[type](url, options, customLayer);
var url = this.createRequestUrl(hash),
layer = omnivore[type](url, options, customLayer);
if (map) {
// Required because Control.Loading tries to get _leafet_id which is created here.