On mobile devices, some of the Geofield control icons are blank. See attached screenshots.

The blank ones are: "Draw a box", "Draw a polygon", and "Snap to features"

I wonder if it has something to do with character encoding support?

Here are the characters currently used (so we can test on various devices directly in this web page):

* Point: ●
* Linestring: ─
* Triangle: △
* Square: ◻
* Box: ▯
* Circle: ◯
* Polygon: ⬟

* Edit: ✍
* Move: ➤
* Clear: X (this is just a standard X character)

* Snap: ◎

CommentFileSizeAuthor
Screenshot_2015-12-30-11-47-24.png928.08 KBm.stenta
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

m.stenta created an issue. See original summary.

m.stenta’s picture

Issue summary: View changes

Added the UTF-8 character codes to the description.

m.stenta’s picture

Issue summary: View changes

Updated characters in the description because #2643406: Change Geofield point and circle icons is now committed.

m.stenta’s picture

I propose the following changes:

* Triangle: △ (so that it matches the unfilled circle icon)
* Square: ◻ (same as above)
* Box: ▯ (same as above, and maybe this will work in more devices)
* Snap: ◎ (similar to the current icon, but I know this works because it's used in openlayers_geolocate_button)

Can't find a good one for polygon, though... the one you found is still the best! If only it worked...

Edit: box one didn't work on my phone... see my next comment below.

Pol’s picture

Good for me mate :-)

m.stenta’s picture

Scratch the box one... neither ▭ nor ▯ work in my phone. :-(

m.stenta’s picture

Ok - I'll commit change the Triangle, Square, Box, and Snap changes. Even though the box doesn't fix the mobile issue, it's more consistent as an unfilled outline.

Still need the following to work on mobile:

* Box
* Polygon

  • m.stenta committed 21d359e on 7.x-3.x
    Issue #2642470: Some Geofield control icons blank on mobile
    
m.stenta’s picture

Issue summary: View changes

Updated characters in description.

m.stenta’s picture

Issue summary: View changes