Skip to content

KML - problem with custom marker position #282

Description

@maaaca

Hi, I have KML file with declared custom icons with <style> inside the file, like this:

	<Style id="IconCrossroad">
      <IconStyle>
      	<scale>1.5</scale> 
        <Icon>
        	<href>../leaflet/images/icon-crossroad.png</href>
        </Icon>
        <hotSpot x="0.5" y="1" xunits="fraction" yunits="fraction"/> 
      </IconStyle>
   </Style>

Icons are loaded into map succesfully, but the marker position is bad. I can't set the offset of icons - hotSpot does not work.

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions