Okay
  Public Ticket #711991
Map Marker Retina
Closed

Comments

  • Mathieu started the conversation

    Hi,

    I changed the map marker, but it looks pixelated on retina/hd screen. What can I do to solve this ?

    I tried uploading higher res marker pictures, but they don't display at all.

    Cheers,


  •  1,823
    Support replied

    Hi,

    Add into your theme IMAGES folder an svg image with your marker (marker.svg). Also replace in scripts.js

    var map_marker_image 	= 'images/marker.png';

    with

    var map_marker_image 	= 'images/marker.svg';

     


    This is a untested solution and not sure if will work. 


    Thanks

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy

  • Mathieu replied

    Hi,

    I tried and it didn't work. But what worked was to just upload a .svg map marker ( customising > map options ) without even changing the script .js file. Looks great now !

    Thanks

    P.S : In order to upload .svg to the media library, I installed the "svg support" plugin

  •  1,823
    Support replied

    Nice! Thank for sharing!

    Thank you.

    Clapat Support

    https://www.clapat.com/

    Review Envato Item Support Policy