1

enter image description here

How can i move the center/origin of my marker image(map pin), so that my marker pin points always on the same point

(in CSS transform-origin: center bottom;)

how can i achieve this in CARTO CSS?

1

You need to use the marker-geometyr-transform property that uses SVG trasform definitions. More details here and here.

Something like

#point {
  marker-geometry-transform: translate(-2, -2);
}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.