gentleface

Gentleface › Maps & places › map-pinned

map-pinned icon

Map pinned: show on map, location on map, view on map, open in maps. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated map-pinned-drag · line-round

The pin is pulled up off the map and dragged a little to the left and then to the right, its point trailing behind the head each way. It is pushed back into its spot and stands.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.2 s to 2.35 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5C12 6.27 11.876 7.016 11.629 7.74C11.411 8.379 11.09 9.016 10.666 9.652C10.319 10.173 9.876 10.729 9.339 11.321C9.021 11.67 8.526 12.181 7.854 12.854C7.754 12.953 7.636 13.003 7.5 13.003C7.364 13.003 7.246 12.953 7.146 12.854C6.474 12.181 5.979 11.67 5.661 11.321C5.124 10.729 4.681 10.173 4.334 9.652C3.91 9.016 3.589 8.379 3.371 7.74C3.124 7.016 3 6.27 3 5.5C3 4.928 3.105 4.376 3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318ZM5.166 9.098C5.485 9.577 5.897 10.094 6.401 10.648C6.651 10.922 7.017 11.304 7.5 11.791C7.983 11.304 8.349 10.922 8.599 10.648C9.103 10.094 9.515 9.577 9.834 9.098C10.21 8.534 10.493 7.973 10.683 7.417C10.894 6.798 11 6.159 11 5.5C11 5.055 10.918 4.625 10.754 4.212C10.576 3.762 10.317 3.367 9.975 3.025C9.633 2.683 9.238 2.424 8.788 2.246C8.375 2.082 7.945 2 7.5 2C7.055 2 6.625 2.082 6.212 2.246C5.762 2.424 5.367 2.683 5.025 3.025C4.683 3.367 4.424 3.762 4.246 4.212C4.082 4.625 4 5.055 4 5.5C4 6.159 4.106 6.798 4.317 7.417C4.507 7.973 4.79 8.534 5.166 9.098ZM8.561 4.439C8.854 4.732 9 5.086 9 5.5C9 5.914 8.854 6.268 8.561 6.561C8.268 6.854 7.914 7 7.5 7C7.086 7 6.732 6.854 6.439 6.561C6.146 6.268 6 5.914 6 5.5C6 5.086 6.146 4.732 6.439 4.439C6.732 4.146 7.086 4 7.5 4C7.914 4 8.268 4.146 8.561 4.439ZM2 14L13 14L13 11L11.5 11C11.359 11 11.241 10.952 11.144 10.856C11.048 10.759 11 10.641 11 10.5C11 10.359 11.048 10.241 11.144 10.144C11.241 10.048 11.359 10 11.5 10L13 10C13.276 10 13.512 10.098 13.707 10.293C13.902 10.488 14 10.724 14 11L14 14C14 14.276 13.902 14.512 13.707 14.707C13.512 14.902 13.276 15 13 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L3.5 10C3.641 10 3.759 10.048 3.856 10.144C3.952 10.241 4 10.359 4 10.5C4 10.641 3.952 10.759 3.856 10.856C3.759 10.952 3.641 11 3.5 11L2 11L2 14Z"/></svg>
React
// Gentleface "map-pinned" (line-round), MIT. https://gentleface.com/icons/map-pinned
import type { SVGProps } from 'react';

export function MapPinnedIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M4.318 2.318C4.757 1.879 5.266 1.545 5.844 1.316C6.376 1.105 6.928 1 7.5 1C8.072 1 8.624 1.105 9.156 1.316C9.734 1.545 10.243 1.879 10.682 2.318C11.121 2.757 11.455 3.266 11.684 3.844C11.895 4.376 12 4.928 12 5.5C12 6.27 11.876 7.016 11.629 7.74C11.411 8.379 11.09 9.016 10.666 9.652C10.319 10.173 9.876 10.729 9.339 11.321C9.021 11.67 8.526 12.181 7.854 12.854C7.754 12.953 7.636 13.003 7.5 13.003C7.364 13.003 7.246 12.953 7.146 12.854C6.474 12.181 5.979 11.67 5.661 11.321C5.124 10.729 4.681 10.173 4.334 9.652C3.91 9.016 3.589 8.379 3.371 7.74C3.124 7.016 3 6.27 3 5.5C3 4.928 3.105 4.376 3.316 3.844C3.545 3.266 3.879 2.757 4.318 2.318ZM5.166 9.098C5.485 9.577 5.897 10.094 6.401 10.648C6.651 10.922 7.017 11.304 7.5 11.791C7.983 11.304 8.349 10.922 8.599 10.648C9.103 10.094 9.515 9.577 9.834 9.098C10.21 8.534 10.493 7.973 10.683 7.417C10.894 6.798 11 6.159 11 5.5C11 5.055 10.918 4.625 10.754 4.212C10.576 3.762 10.317 3.367 9.975 3.025C9.633 2.683 9.238 2.424 8.788 2.246C8.375 2.082 7.945 2 7.5 2C7.055 2 6.625 2.082 6.212 2.246C5.762 2.424 5.367 2.683 5.025 3.025C4.683 3.367 4.424 3.762 4.246 4.212C4.082 4.625 4 5.055 4 5.5C4 6.159 4.106 6.798 4.317 7.417C4.507 7.973 4.79 8.534 5.166 9.098ZM8.561 4.439C8.854 4.732 9 5.086 9 5.5C9 5.914 8.854 6.268 8.561 6.561C8.268 6.854 7.914 7 7.5 7C7.086 7 6.732 6.854 6.439 6.561C6.146 6.268 6 5.914 6 5.5C6 5.086 6.146 4.732 6.439 4.439C6.732 4.146 7.086 4 7.5 4C7.914 4 8.268 4.146 8.561 4.439ZM2 14L13 14L13 11L11.5 11C11.359 11 11.241 10.952 11.144 10.856C11.048 10.759 11 10.641 11 10.5C11 10.359 11.048 10.241 11.144 10.144C11.241 10.048 11.359 10 11.5 10L13 10C13.276 10 13.512 10.098 13.707 10.293C13.902 10.488 14 10.724 14 11L14 14C14 14.276 13.902 14.512 13.707 14.707C13.512 14.902 13.276 15 13 15L2 15C1.724 15 1.488 14.902 1.293 14.707C1.098 14.512 1 14.276 1 14L1 11C1 10.724 1.098 10.488 1.293 10.293C1.488 10.098 1.724 10 2 10L3.5 10C3.641 10 3.759 10.048 3.856 10.144C3.952 10.241 4 10.359 4 10.5C4 10.641 3.952 10.759 3.856 10.856C3.759 10.952 3.641 11 3.5 11L2 11L2 14Z" />
    </svg>
  );
}
Vue
Vue: see /icons/map-pinned.md
Svelte
Svelte: see /icons/map-pinned.md
HTML img
HTML img: see /icons/map-pinned.md
CSS
CSS: see /icons/map-pinned.md
Data URL
Data URL: see /icons/map-pinned.md
Sprite
Sprite: see /icons/map-pinned.md
SwiftUI
SwiftUI: see /icons/map-pinned.md
Compose
Compose: see /icons/map-pinned.md
Android XML
Android XML: see /icons/map-pinned.md
Flutter
Flutter: see /icons/map-pinned.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { MapPinnedIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
show on map, location on map, view on map, open in maps
Alternatives
  • map-pin: a location without the map
Also fits
  • map: show a place on the map
  • location: a place shown on a map
Tags
map, pin, location, show-on-map, place, marker, directions
Category
Maps & places
Component name
MapPinnedIcon
History
  • added
  • released in 0.1.0
  • 20 px drawn, 24 px drawn
Since
version 0.1.0

Family 9

More maps & places icons

For agents

Metadata: /icons/map-pinned.json · Markdown: /icons/map-pinned.md · SVG: https://gentleface.com/svg/{style}/16/map-pinned.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/map-pinned.png