# Summary

Integration with the Leaflet JavaScript mapping library.

Latest beta release available: 8.x-1.0-beta1

# Project URL

https://www.drupal.org/project/leaflet

# Where is the code?

On Drupal.org, in the current D8 release.

# Estimated completion date

The first beta release of Leaflet for Drupal 8 was made on 3rd October 2016 which includes the use of composer to manage library dependencies and numerous bug fixes. Upgrading from the alpha1 release should be straightforward, as no database changes are introduced.

# Dependencies

- Provides a Leaflet formatter for a Geofield field (https://www.drupal.org/project/geofield)

# Who's doing the port?

# What help do they need?

- Testing
- Further refactoring of the leaflet_views submodule

Comments

skyredwang created an issue. See original summary.

tim.plunkett’s picture

Priority: Major » Normal

Leaflet is the 496th most used module https://www.drupal.org/project/usage?page=4

pvhee’s picture

Issue summary: View changes

Updated the status after a first alpha release of Leaflet for Drupal 8.

pvhee’s picture

Issue summary: View changes
pvhee’s picture

Assigned: Unassigned » pvhee
gdelver@xs4all.nl’s picture

Hi, I am testing geofield with address and geocoder and leaflet. I got the address with geocoding working. Leaflet produces a blanc screen when i add it to the display format (leaflet map) of the geofield. I tried the 8.x-1.0-alpha1 and the 8.x-1.x-dev versions. Both produce the same problem. For the geofield I use 8.x-1.0-alpha2. I use the leaflet 1.0.0-rc1 library and put it in sites/all/libraries/leaflet as indicated. So where do I go wrong? I read that they work well together. Any advise will be appreciated greatly. Thanks, Guido.

Likos73’s picture

Following the savaslab tutorial I have the same problem here: Just a blank screen instead of the map. @Guido: Did you finally solve this problem? I think, the leaflet lib is not embedded correctly but I don't find the way to do this. Isn't it correct to simply place the content of the zip (leaflet.js/css, images folder an so on) in the root/libraries/leaflet folder and then to install the module? geofield is working properly after installing geophp via composer. I would appreciate your help. Thanks!

gdelver@xs4all.nl’s picture

@likos73, #7 I switched to the styled_google_map module. That works just fine. So the stack I am using now is: geofield, geocoder, address and styled_google_map. I have no solution yet for any proximity filtering ...
Cheers.

duncan.moo’s picture

Issue summary: View changes