Ecme logoEcme logo
Dashboard
    Ecommerce
    Project
    Marketing
    Analytic
Network
    BGP
      Peer
      RTBH
DPI
    Overview
    Traffic Logs
    Analysis
      IP Analysis
      Domain Check
      nav.dpi.analysis.unmapped-asns
    Threats
      Blacklists
      nav.dpi.threats.feeds
    Configuration
      Senders
      Ignored Domains
Concepts
    AI
      Chat
      Image
    Projects
      Scrum Board
      List
      Details
      Tasks
      Issue
    Customer
      List
      Edit
      Create
      Details
    Products
      List
      Edit
      Create
    Orders
      List
      Edit
      Create
      Details
    Account
      Settings
      Activity log
      Roles & Permissions
      Pricing
    Help Center
      Support Hub
      Article
      Edit Article
      Manage Article
    Calendar
    File Manager
    Mail
    Chat
UI Components
    Common
      Button
      Grid
      Typography
      Icons
    Feedback
      Alert
      Dialog
      Drawer
      Progress
      Skeleton
      Spinner
      Toast
    Data Display
      Avatar
      Badge
      Calendar
      Cards
      Carousel
      Table
      Tag
      Timeline
      Tooltip
    Forms
      Checkbox
      Date Picker
      Form Control
      Input
      Input Group
      Radio
      Segment
      Select
      Slider
      Switcher
      Time Input
      Upload
    Navigation
      Dropdown
      Menu
      Pagination
      Steps
      Tabs
    Graph
      Charts
      Maps
Authentication
    Sign In
      Simple
      Side
      Split
    Sign Up
      Simple
      Side
      Split
    Forgot Password
      Simple
      Side
      Split
    Reset Password
      Simple
      Side
      Split
    Otp Verification
      Simple
      Side
      Split
Others
    Access Denied
    Landing
Guide
    Documentation
    Shared Component
    Utilities
    Changelog
Copyright © 2026 Ecme All rights reserved.
Term & Conditions | Privacy & Policy

Maps

A wrapper component for every mapchart built with react-simple-maps. It determines the map context, which is passed to all react-simple-maps components. The context contains information about the projection and path generator, as well as the dimensions of the mapchart.

Basic Annotation

Paris

Basic Marker

Buenos AiresLa PazBrasiliaSantiagoBogotaQuitoGeorgetownAsuncionParamariboMontevideoCaracasLima

Basic World Map

Custom Marker

Buenos AiresLa PazBrasiliaSantiagoBogotaQuitoGeorgetownAsuncionParamariboMontevideoCaracasLima

Europe Map With Graticule

Graticule

Map Chart With Tooltip

Choropleth map chart of the US (quantile)

Choropleth map chart of the US (quantize)

USA states map with labels

API

ComposableMap
PropDescriptionTypeDefault
width-number800
height-number600
projection-string | () => void'geoEqualEarth'
projectionConfig-object{}
ZoomableGroup
PropDescriptionTypeDefault
center-array[0, 0]
zoom-number1
minZoom-number1
maxZoom-number8
translateExtent-array[-∞, -∞, ∞, ∞]
onMoveStart-(position: { coordinates: [number, number], zoom: number }, event: D3ZoomEvent< SVGElement, any>) => void-
onMove-(position: {x: number, y: number, k: number, dragging: WheelEvent }, event: D3ZoomEvent< SVGElement, any>) => void-
onMoveEnd-(position: { coordinates: [number, number], zoom: number }, event: D3ZoomEvent< SVGElement, any>) => void-
Sphere
PropDescriptionTypeDefault
id-string'rsm-sphere'
fill-string'transparent'
stroke-string'currentcolor'
strokeWidth-number0.5
Graticule
PropDescriptionTypeDefault
fill-string'transparent'
stroke-string'currentcolor'
step-Array[10, 10]
Geographies
PropDescriptionTypeDefault
geography-string-
children-(data: object) => void-
parseGeographies- (features: Array) => Array-
Geography
PropDescriptionTypeDefault
geography-object-
style-object-
Marker
PropDescriptionTypeDefault
coordinates-array[]
style-object{}
Line
PropDescriptionTypeDefault
from-[number, number][0, 0]
to-[number, number][0, 0]
coordinates-array[]
fill-string'transparent'
stroke-string'currentcolor'
strokeWidth-number3
Annotation
PropDescriptionTypeDefault
subject-array[]
dx-number30
dy-number30
curve-number0
connectorProps-object-

More usage & examples?

Read the docs, or check out the examples.

TABLE OF CONTENT
  • Basic Annotation
  • Basic Marker
  • Basic World Map
  • Custom Marker
  • Europe Map With Graticule
  • Graticule
  • Map Chart With Tooltip
  • Choropleth map chart of the US (quantile)
  • Choropleth map chart of the US (quantize)
  • USA states map with labels