This topic contains 2 replies, has 2 voices, and was last updated by Sofia Moss Sofia Moss 5 years, 4 months ago.

Custom Marker embedding the same way as Marker Clusterer

  • User Level

    Hey there :)

    Thanks again for your reply!
    I came up with another problem down the road.

    The .svg are not working on every browser. Before gooing on: the marker-Clusterer .svg works fine on every browser (always showen and always right size), the problem is with the custom-markers. They are embedded via the img tag while the marker clusterer are put as background-image…
    On Chrome Custom_Marker are showen in 150px instead of the 56px which I put as default. It seems that somewhere a .js puts 150px.
    And the main Problem is that on firefox the .svg of custom-marker are not showen at all.

    Do you know a way out for me? Im struggling with this since some days…
    Maybe if u can point me out where in the .js you define that its an img tag instead of an object or background image im able to find a way, and if u have any other ideas im incredbly greatful to hear!

    thanks alot in advance!
    Greetings from Switzerland

    User Level

    Hey there :) i think i found the problem!!!

    It is that

    <div style=”background-image: url(“test.svg”); …. height: 0px; line-height: 56px; width: 0px; …”></div>
    <img src=”test.svg”; …;position: absolute; left: 0px; top: 0px; -moz-user-select: none; width: 0px; height: 0px; border: 0px none; padding: 0px; margin: 0px; max-width: none; display: none; opacity: 1;”;

    the bold parameters width and heigth for the custom marker differs in every browser! 56px in safari, 150px in chrome and 0px in firefox.

    Could you help me to define it the way that it is always on 56px?
    I would explode with word of mouth about your product and service ;D
    Thanks in advance

    • This reply was modified 5 years, 4 months ago by  kangaaa. Reason: deleted links
    Sofia Moss
    StaffSuper ContributorUser Level

    Hi there,

    Thank you for your inquiry, if you can provide the url of your store locator and location to be searched/store name via the contact form here our technical team, might be able to have a look.


You must be logged in to reply to this topic.