Skip to content

Main content

Map Source Code

Browse the implementation files for Map.
tool.ts typescript
import MapView from './MapView.svelte';
import { mapNavigation } from './navigation';

export const Tool: TypeTool = {
	name: 'Map',
	slug: 'map',
	intro:
		'Explore an interactive map, search for places, and select geographic coordinates.',
	tool: () => '',
	i: [],
	o: [
		{
			label: 'Interactive map',
			placeholder: 'Interactive map',
			render: 'custom',
			renderas: MapView,
			type: 'text'
		}
	],
	subnav: mapNavigation,
	cite: [
		{
			title: 'MapLibre GL JS',
			url: 'https://maplibre.org/maplibre-gl-js/docs/'
		},
		{ title: 'OpenFreeMap', url: 'https://openfreemap.org/' },
		{
			title: 'OpenStreetMap contributors',
			url: 'https://www.openstreetmap.org/copyright'
		},
		{
			title: 'PMTiles',
			url: 'https://docs.protomaps.com/pmtiles/'
		}
	]
};

export default Tool;

Description

Browse the implementation files for Map.

References

  1. Tool.io on GitHub
  2. Tool.io TypeScript tools library

Similar or alternative tools