diff --git a/docs/astro.config.mjs b/docs/astro.config.mjs index f7651be..e75973c 100644 --- a/docs/astro.config.mjs +++ b/docs/astro.config.mjs @@ -131,6 +131,30 @@ export default defineConfig({ label: 'Load the Maps JavaScript API', link: '/docs/examples/basic', }, + { + label: 'Dark mode', + link: '/docs/examples/dark-mode', + }, + { + label: 'Toggle Marker', + link: '/docs/examples/toggle-marker', + }, + { + label: 'Rectangle editable', + link: '/docs/examples/rectangle-editable', + }, + { + label: 'Put a hole in Polygon', + link: '/docs/examples/put-a-hole-in-polygon', + }, + { + label: 'Inspect a Polyline', + link: '/docs/examples/inspect-a-polyline', + }, + { + label: 'Interactive Advanced Marker', + link: '/docs/examples/interactive-advanced-marker', + }, // { // label: 'Showing Pixel and Tile Coordinates', // link: '/docs/introdution', diff --git a/docs/src/content/docs/docs/examples/basic.mdx b/docs/src/content/docs/docs/examples/basic.mdx index 1a10674..d2a11a8 100644 --- a/docs/src/content/docs/docs/examples/basic.mdx +++ b/docs/src/content/docs/docs/examples/basic.mdx @@ -15,10 +15,10 @@ function Map() { - ) + ); } -export function App() { +function App() { return ( }> diff --git a/docs/src/content/docs/docs/examples/dark-mode.mdx b/docs/src/content/docs/docs/examples/dark-mode.mdx new file mode 100644 index 0000000..79a928b --- /dev/null +++ b/docs/src/content/docs/docs/examples/dark-mode.mdx @@ -0,0 +1,11 @@ +--- +title: 'Example: Dark mode' +description: 'description' +--- + + diff --git a/docs/src/content/docs/docs/examples/inspect-a-polyline.mdx b/docs/src/content/docs/docs/examples/inspect-a-polyline.mdx new file mode 100644 index 0000000..73f1c5b --- /dev/null +++ b/docs/src/content/docs/docs/examples/inspect-a-polyline.mdx @@ -0,0 +1,11 @@ +--- +title: 'Example: Inspect a Polyline' +description: 'description' +--- + + diff --git a/docs/src/content/docs/docs/examples/interactive-advanced-marker.mdx b/docs/src/content/docs/docs/examples/interactive-advanced-marker.mdx new file mode 100644 index 0000000..810d417 --- /dev/null +++ b/docs/src/content/docs/docs/examples/interactive-advanced-marker.mdx @@ -0,0 +1,11 @@ +--- +title: 'Example: Interactive Advanced Marker' +description: 'description' +--- + + diff --git a/docs/src/content/docs/docs/examples/put-a-hole-in-polygon.mdx b/docs/src/content/docs/docs/examples/put-a-hole-in-polygon.mdx new file mode 100644 index 0000000..b4cc0a6 --- /dev/null +++ b/docs/src/content/docs/docs/examples/put-a-hole-in-polygon.mdx @@ -0,0 +1,11 @@ +--- +title: 'Example: Put a hole in Polygon' +description: 'description' +--- + + diff --git a/docs/src/content/docs/docs/examples/rectangle-editable.mdx b/docs/src/content/docs/docs/examples/rectangle-editable.mdx new file mode 100644 index 0000000..8208c83 --- /dev/null +++ b/docs/src/content/docs/docs/examples/rectangle-editable.mdx @@ -0,0 +1,11 @@ +--- +title: 'Example: Rectangle editable' +description: 'description' +--- + + diff --git a/docs/src/content/docs/docs/examples/toggle-marker.mdx b/docs/src/content/docs/docs/examples/toggle-marker.mdx new file mode 100644 index 0000000..ebb1281 --- /dev/null +++ b/docs/src/content/docs/docs/examples/toggle-marker.mdx @@ -0,0 +1,11 @@ +--- +title: 'Example: Toggle Marker' +description: 'description' +--- + +