Skip to content

Commit

Permalink
Update the api key used.
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz committed Oct 12, 2024
1 parent aaae101 commit 0d7c359
Show file tree
Hide file tree
Showing 14 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/examples/basic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
MglNavigationControl,
} from '@indoorequal/vue-maplibre-gl';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/custom-marker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import {
MglMarker
} from '@indoorequal/vue-maplibre-gl';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
const coordinates = [12.550343, 55.665957];
Expand Down
8 changes: 4 additions & 4 deletions docs/examples/example.data.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ export default {
<script setup>
import { defineClientComponent } from 'vitepress';
const Example = defineClientComponent(() => {
return import('./${path.basename(file)}');
})
const Example = defineClientComponent(
() => import('./${path.basename(file)}')
);
</script>
<Example />
\`\`\`vue
${vueContent.slice(3).join('\n')}
${vueContent.slice(3).join('\n').replaceAll('?key=', '?key=get_your_own_api_key_')}
\`\`\`
`;
return {
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/geojson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
MglLineLayer,
} from '@indoorequal/vue-maplibre-gl';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [ -122.483696, 37.833818 ];
const zoom = 15;
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/marker-draggable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
} from '@indoorequal/vue-maplibre-gl';
import { ref } from 'vue';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = `https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti`;
const center = [12.550343, 55.665957];
const zoom = 8;
const coordinates = ref([12.550343, 55.665957]);
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/marker-popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
} from '@indoorequal/vue-maplibre-gl';
import { useTemplateRef } from 'vue'
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
const coordinates = [12.550343, 55.665957];
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/marker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
MglMarker
} from '@indoorequal/vue-maplibre-gl';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
const coordinates = [12.550343, 55.665957];
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/playground.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ import {
import { mdiCursorDefaultClick } from '@mdi/js';
import { LngLatLike, MapLayerMouseEvent } from 'maplibre-gl';
MglDefaults.style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
MglDefaults.style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
export default defineComponent({
name : 'App',
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/popup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import {
} from '@indoorequal/vue-maplibre-gl';
import { ref } from 'vue'
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
const coordinates = [12.550343, 55.665957];
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/use-control.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { defineComponent } from 'vue';
import maplibregl from 'maplibre-gl';
import MaplibreInspect from '@maplibre/maplibre-gl-inspect';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/use-map.vue
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
} from '@indoorequal/vue-maplibre-gl';
import { watch } from 'vue';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [12.550343, 55.665957];
const zoom = 8;
const mapOne = useMap();
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/vector.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
} from '@indoorequal/vue-maplibre-gl';
import { CircleLayerSpecification, LineLayerSpecification, LngLatLike, MapLayerMouseEvent } from 'maplibre-gl';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [-3.002233964444031, 53.71773428766181];
const zoom = 5;
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
MglRasterLayer
} from '@indoorequal/vue-maplibre-gl';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = [-122.514426, 37.562984];
const zoom = 17;
const urls = ['https://static-assets.mapbox.com/mapbox-gl-js/drone.mp4', 'https://static-assets.mapbox.com/mapbox-gl-js/drone.webm'];
Expand Down
2 changes: 1 addition & 1 deletion docs/examples/vmodelprops.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import {
} from '@indoorequal/vue-maplibre-gl';
import { ref } from 'vue';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=cQX2iET1gmOW38bedbUh';
const style = 'https://api.maptiler.com/maps/streets-v2/style.json?key=3YeFnghdqUJJpIvlgLti';
const center = ref([12.550343, 55.665957]);
const zoom = ref(8);
const pitch = ref(0);
Expand Down

0 comments on commit 0d7c359

Please sign in to comment.