-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9ce9bab
commit aa28d65
Showing
8 changed files
with
147 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
declare namespace NodeJS { | ||
interface Process { | ||
browser: boolean; | ||
} | ||
} | ||
declare interface Window { | ||
$naverMapsCallback: []; | ||
$naverMapsLoaded: boolean; | ||
$naverMapsObject: naver.maps.Map; | ||
} | ||
// declare namespace NodeJS { | ||
// interface Process { | ||
// browser: boolean; | ||
// } | ||
// } | ||
// declare interface Window { | ||
// $naverMapsCallback: []; | ||
// $naverMapsLoaded: boolean; | ||
// $naverMapsObject: naver.maps.Map; | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
// import { inject } from "vue"; | ||
// import { routerKey, routeLocationKey } from "./injectionSymbols"; | ||
// import { Router } from "./router"; | ||
import { inject, InjectionKey } from "vue"; | ||
import type { useMap as useMapType } from "./apis"; | ||
|
||
export function useMap() { | ||
const mapSymbol: InjectionKey<useMapType> = Symbol("[vue3-naver-maps]useMap"); | ||
return inject(mapSymbol); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
import { App } from "vue"; | ||
|
||
export function addEvent(app: App, target: any, name: any) { | ||
export function addEvent(target: any, name: any) { | ||
naver.maps.Event.addListener(target, name, (event) => {}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.