File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
playgrounds/geo-javascript Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1- VITE_GOOGLE_MAPS_KEY = AIzaSyAdTxSaQG1L1kMborkwbUOM-gnHLYr7vGk
1+ VITE_GOOGLE_MAPS_API_KEY = AIzaSyAdTxSaQG1L1kMborkwbUOM-gnHLYr7vGk
Original file line number Diff line number Diff line change 22import { instantMeiliSearch } from '@meilisearch/instant-meilisearch'
33import { setOptions , importLibrary } from '@googlemaps/js-api-loader'
44
5- const GOOGLE_API_KEY = import . meta. env . VITE_GOOGLE_MAPS_KEY
5+ const GOOGLE_MAP_API_KEY = import . meta. env . VITE_GOOGLE_MAPS_KEY
66
77setOptions ( {
8- apiKey : GOOGLE_API_KEY ,
8+ apiKey : GOOGLE_MAP_API_KEY ,
99 version : 'weekly' ,
1010} )
1111
@@ -48,6 +48,9 @@ importLibrary('maps').then(() => {
4848 lat : 50.655250871381355 ,
4949 lng : 4.843585698860502 ,
5050 } ,
51+ enableRefineOnMapMove : false ,
52+ enableClearMapRefinement : false ,
53+ enableRefineControl : false ,
5154 } ) ,
5255 instantsearch . widgets . infiniteHits ( {
5356 container : '#hits' ,
You can’t perform that action at this time.
0 commit comments