Two pictures are worth a hundred or more words. See the attached image files.

When the map is animating, I can clearly see the standard jpg/png placeholder display for a fraction of a second, exactly where the marker icon is positioned to be. Then it disappears. The actual icon never appears.

FYI, I am using Leaflet in conjunction with Leaflet More Maps.

Also, the relative path is relative to Drupal's private:// URL, which in my case is the usual sites/default/files path.

CommentFileSizeAuthor
#1 Leaflet issue image 1.png86.47 KBAnonymous (not verified)
#1 Leaflet issue image 2.png527.67 KBAnonymous (not verified)
Leaflet issue image #2.png527.67 KBAnonymous (not verified)
Leaflet issue image #1.png86.47 KBAnonymous (not verified)

Comments

Anonymous’s picture

StatusFileSize
new527.67 KB
new86.47 KB

Oops! You cannot see those images, because of # in the file names. Here they are.

nally’s picture

This looks to me as though the format of the geofield itself (as included in the View) isn't set to something map friendly (GeoJSON?). I had these symptoms (i.e. you can see the address shown in text above the map)... and now it's fixed, but I forget the exact step I needed to fix this. It might have been setting the View's Format as "Leaflet Map" or setting the style of the Geofield itself to be GeoJSON. (I'm using the default map BTW for testing).

Anonymous’s picture

Hm? My issue report has nothing to do with Views. We're talking about the respective content type's Geofield display formatting.

The maps display just fine. However, they do not properly display the configured markers.

pvhee’s picture

Status: Active » Fixed

This is now fixed, it was due to a wrong check in the field formatter and was introduced by the custom icon support. See commit for more info: http://drupalcode.org/project/leaflet.git/commit/e1da105

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

magicmirror’s picture

Status: Closed (fixed) » Active

I am having this problem, but it only occurs on the iPad. Any ideas?

magicmirror’s picture

Looking at this further, it appears the shadow is there but not the default icon.

pvhee’s picture

Title: Map displayed via Geofield does not display its marker icon » Map displayed via Geofield does not display its marker icon - on iPad only

changing title to reflect this, it will need to be reconfirmed.