Map is a main element of react-mapycz library.
24 |Available properties:
25 |Easy-to-use integration of Mapy.cz into React using Mapy.cz API.
30 |Install library and peer dependencies
34 |or
38 |Id: {routeInfo?.id}
78 |Descent: {routeInfo?.descent} [m]
79 |Ascent: {routeInfo?.ascent} [m]
80 |81 | In Europe (not in Czech republic): {routeInfo?.inEurope?.toString()} 82 |
83 |Length: {routeInfo?.length} [m]
84 |Time: {routeInfo?.time} [s]
85 |URL:
{" "} 86 | 87 | {routeInfo?.url} 88 | 89 |Don't worry about route computations. Just mark your path as "dynamicRoute" and select desired criterion.
45 | Available criterions: 46 |Show polygons in the map with customizable styles.
82 |Clicking to polygons can be captured by listening on geometry-click event and identified by id prop.
83 |Card body
Various elements are ready to use. It's up to you how you combine them.
73 |Card body
Card body {lat} {lng}