JoseLuisGJ / figmap

Fully customizable styled maps and markers for Figma
16 stars 3 forks source link
figma figma-components figma-plugin figma-plugins map mapbox mapbox-gl-js maps markers

Figmap plugin

Fully customizable styled maps and markers for Figma

Figmap Mockup

Go to Figmap

Get an image from Mapbox default styles or your custom map style created with Mapbox Studio. You can change the map properties like latitude, longitude, zoom, bearing or pitch over the map or using the field controls. Also you can configure the width, height and retina ready of the image to get it in Figma.

Besides you can add markers linked to your existing Figma components or create a default one from scratch

Get in mind the image obtained in Figma doesn't have Mapbox logo neither attribution. Please read the Mapbox privacy policy about it.

Template based on Figma Plugin React Template This template contains the react example as shown on Figma Docs, with some structural changes and extra tooling.

Figmap in action

Figmap in action

Quickstart

⭐ To change the UI of your plugin (the react code), start editing App.tsx.
⭐ To interact with the Figma API edit controller.ts.
⭐ Read more on the Figma API Overview.

Toolings

This repo is using:

Xiaoji Chen @Pessimistress.