Custom Icon for Retina display

Home Forums MapPress Support Custom Icon for Retina display

Tagged: ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #14388

    hi…I had to find a way to use a custom icon suitable for retina display. I was able to do that by editing line 37 of plugins/mappress-google-maps-for-wordpress/pro/mappress-icons.php in if ( stristr($file, '.shadow') || !in_array($info['extension'], array('svg', 'png', 'gif', 'jpg')) )

    the problem is that internet explorer (10 and 11) is not able to show that svg icon…does anyone know what could be the problem?

    Is there a way to use @2x.png file?

    many thanks in advance and sorry for my english 😛

    James Proctor

    Can you please verify that this .svg solution works well on all non-IE browsers? I’d potentially need to use .svg icons as well.

    Jim P.



    I have a beta version of MapPress that will allow you to use SVG icons. I’m not sure it’ll meet your needs, but please send me an email if you would like a copy to test.

    The new version includes the change shown above, but it also has some limitations:

    – SVG icons are always rendered as 32×32 img tags
    – Rotation, color changes and scaling are not possible
    – The icons seem to work in IE9-11. They do not work in IE8

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.