diff --git a/docs/maps/maps.mdx b/docs/maps/maps.mdx index 161cbedd3..24c503b9d 100644 --- a/docs/maps/maps.mdx +++ b/docs/maps/maps.mdx @@ -74,6 +74,7 @@ Specify the HTML element where you want to render the map, by providing the elem values={[ { label: 'HTML', value: 'html' }, { label: 'React', value: 'react' }, + { label: 'Vue', value: 'vue' }, ]} > @@ -142,6 +143,53 @@ export default RadarMap; ``` + + + ```vue + + + + + + ``` + + + ## Configuration @@ -428,6 +476,7 @@ In the example below, clicking the map will place a new marker, and refit the ma values={[ { label: 'HTML', value: 'html' }, { label: 'React', value: 'react' }, + { label: 'Vue', value: 'vue' }, ]} > @@ -526,6 +575,64 @@ class RadarMap extends React.Component { export default RadarMap; ``` + + + + ```vue + + + + + + ``` + @@ -541,6 +648,7 @@ Add a `Marker` with a custom image to the map by specifying the image URL. values={[ { label: 'HTML', value: 'html' }, { label: 'React', value: 'react' }, + { label: 'Vue', value: 'vue' }, ]} > @@ -633,6 +741,61 @@ class RadarMap extends React.Component { export default RadarMap; ``` + + + + ``` vue + + + + + + ``` + @@ -648,6 +811,7 @@ Display a popup with customized HTML. values={[ { label: 'HTML', value: 'html' }, { label: 'React', value: 'react' }, + { label: 'Vue', value: 'vue' }, ]} > @@ -782,6 +946,82 @@ class RadarMap extends React.Component { export default RadarMap; ``` + + + + ```vue + + + + + + ``` + @@ -801,6 +1041,7 @@ Lines can be styled according to the MapLibre [Line Layer properties](https://ma values={[ { label: 'HTML', value: 'html' }, { label: 'React', value: 'react' }, + { label: 'Vue', value: 'vue' }, ]} > @@ -949,6 +1190,90 @@ class RadarMap extends React.Component { export default RadarMap; ``` + + + + ```vue + + + + + + ``` + @@ -966,6 +1291,7 @@ Polygon features can be styled according to the polygon options highlighted abov values={[ { label: 'HTML', value: 'html' }, { label: 'React', value: 'react' }, + { label: 'Vue', value: 'vue' }, ]} > @@ -1084,6 +1410,75 @@ class RadarMap extends React.Component { export default RadarMap; ``` + + + + ```vue + + + + + + ``` +