expo-gaode-map-search 1.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +2 -0
- package/README.md +351 -0
- package/android/build/.transforms/39851efd0f7b6e1d40614db65bbfeb0c/results.bin +1 -0
- package/android/build/.transforms/39851efd0f7b6e1d40614db65bbfeb0c/transformed/classes/classes_dex/classes.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/results.bin +1 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/BuildConfig.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$1$1.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$2$1.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$3$1.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$4$1.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$5$1.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$1.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$10.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$2.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$3.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$4.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$5.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$6.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$7.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$8.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$9.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/bundleLibRuntimeToDirDebug_dex/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule.dex +0 -0
- package/android/build/.transforms/7a85ca2b793ed326a2bf33b6a4f74b65/transformed/bundleLibRuntimeToDirDebug/desugar_graph.bin +0 -0
- package/android/build/generated/source/buildConfig/debug/expo/modules/gaodemap/search/BuildConfig.java +10 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +7 -0
- package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/output-metadata.json +18 -0
- package/android/build/intermediates/aar_metadata/debug/writeDebugAarMetadata/aar-metadata.properties +6 -0
- package/android/build/intermediates/annotation_processor_list/debug/javaPreCompileDebug/annotationProcessors.json +1 -0
- package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar +0 -0
- package/android/build/intermediates/compile_symbol_list/debug/generateDebugRFile/R.txt +0 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -0
- package/android/build/intermediates/incremental/debug/packageDebugResources/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugAssets/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugJniLibFolders/merger.xml +2 -0
- package/android/build/intermediates/incremental/mergeDebugShaders/merger.xml +2 -0
- package/android/build/intermediates/java_res/debug/processDebugJavaRes/out/META-INF/expo-gaode-map-search_debug.kotlin_module +0 -0
- package/android/build/intermediates/javac/debug/compileDebugJavaWithJavac/classes/expo/modules/gaodemap/search/BuildConfig.class +0 -0
- package/android/build/intermediates/local_only_symbol_list/debug/parseDebugLocalResources/R-def.txt +2 -0
- package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +7 -0
- package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +7 -0
- package/android/build/intermediates/navigation_json/debug/extractDeepLinksDebug/navigation.json +1 -0
- package/android/build/intermediates/nested_resources_validation_report/debug/generateDebugResources/nestedResourcesValidationReport.txt +1 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/META-INF/expo-gaode-map-search_debug.kotlin_module +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/BuildConfig.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$1$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$2$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$3$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$4$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$5$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$10.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$5.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$6.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$7.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$8.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$9.class +0 -0
- package/android/build/intermediates/runtime_library_classes_dir/debug/bundleLibRuntimeToDirDebug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule.class +0 -0
- package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
- package/android/build/intermediates/symbol_list_with_package_name/debug/generateDebugRFile/package-aware-r.txt +1 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +2 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len +0 -0
- package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
- package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
- package/android/build/outputs/logs/manifest-merger-debug-report.txt +16 -0
- package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
- package/android/build/tmp/kotlin-classes/debug/META-INF/expo-gaode-map-search_debug.kotlin_module +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$1$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$2$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$3$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$4$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$1$5$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$1.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$10.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$2.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$3.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$4.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$5.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$6.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$7.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$8.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule$definition$lambda$11$$inlined$AsyncFunctionWithPromise$9.class +0 -0
- package/android/build/tmp/kotlin-classes/debug/expo/modules/gaodemap/search/ExpoGaodeMapSearchModule.class +0 -0
- package/android/build.gradle +49 -0
- package/build/ExpoGaodeMapSearch.types.d.ts +169 -0
- package/build/ExpoGaodeMapSearch.types.js +19 -0
- package/build/ExpoGaodeMapSearchModule.d.ts +7 -0
- package/build/ExpoGaodeMapSearchModule.js +10 -0
- package/build/index.d.ts +124 -0
- package/build/index.js +148 -0
- package/expo-module.config.json +9 -0
- package/ios/ExpoGaodeMapSearch.podspec +30 -0
- package/package.json +52 -0
- package/package.json.backup +54 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab_i.len
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i
ADDED
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i.len
ADDED
|
Binary file
|
|
Binary file
|
package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin
ADDED
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
-- Merging decision tree log ---
|
|
2
|
+
manifest
|
|
3
|
+
ADDED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml:2:13-83
|
|
4
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml:2:13-83
|
|
5
|
+
package
|
|
6
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml
|
|
7
|
+
xmlns:android
|
|
8
|
+
ADDED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml:2:23-81
|
|
9
|
+
uses-sdk
|
|
10
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml reason: use-sdk injection requested
|
|
11
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml
|
|
12
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml
|
|
13
|
+
android:targetSdkVersion
|
|
14
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml
|
|
15
|
+
android:minSdkVersion
|
|
16
|
+
INJECTED from /Users/wangqiang/Desktop/expo-gaode-map/packages/search/android/build/intermediates/tmp/ProcessLibraryManifest/debug/tempAndroidManifest15964660991960810611.xml
|
package/android/build/tmp/kotlin-classes/debug/META-INF/expo-gaode-map-search_debug.kotlin_module
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
apply plugin: 'com.android.library'
|
|
2
|
+
|
|
3
|
+
group = 'expo.modules.gaodemap.search'
|
|
4
|
+
version = '1.0.0'
|
|
5
|
+
|
|
6
|
+
def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
|
|
7
|
+
apply from: expoModulesCorePlugin
|
|
8
|
+
applyKotlinExpoModulesCorePlugin()
|
|
9
|
+
useCoreDependencies()
|
|
10
|
+
useExpoPublishing()
|
|
11
|
+
|
|
12
|
+
// 与核心模块保持一致的 SDK 版本配置
|
|
13
|
+
def useManagedAndroidSdkVersions = false
|
|
14
|
+
if (useManagedAndroidSdkVersions) {
|
|
15
|
+
useDefaultAndroidSdkVersions()
|
|
16
|
+
} else {
|
|
17
|
+
buildscript {
|
|
18
|
+
// Simple helper that allows the root project to override versions declared by this library.
|
|
19
|
+
ext.safeExtGet = { prop, fallback ->
|
|
20
|
+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
project.android {
|
|
24
|
+
compileSdkVersion safeExtGet("compileSdkVersion", 36)
|
|
25
|
+
defaultConfig {
|
|
26
|
+
minSdkVersion safeExtGet("minSdkVersion", 24)
|
|
27
|
+
targetSdkVersion safeExtGet("targetSdkVersion", 36)
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
android {
|
|
33
|
+
namespace "expo.modules.gaodemap.search"
|
|
34
|
+
defaultConfig {
|
|
35
|
+
versionCode 1
|
|
36
|
+
versionName "1.0.0"
|
|
37
|
+
}
|
|
38
|
+
lintOptions {
|
|
39
|
+
abortOnError false
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
dependencies {
|
|
44
|
+
//不要升级 升级会导致无法使用
|
|
45
|
+
implementation('com.amap.api:search:9.4.0') {
|
|
46
|
+
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 搜索类型
|
|
3
|
+
*/
|
|
4
|
+
export declare enum SearchType {
|
|
5
|
+
/** POI 搜索 */
|
|
6
|
+
POI = "poi",
|
|
7
|
+
/** 周边搜索 */
|
|
8
|
+
NEARBY = "nearby",
|
|
9
|
+
/** 沿途搜索 */
|
|
10
|
+
ALONG = "along",
|
|
11
|
+
/** 多边形搜索 */
|
|
12
|
+
POLYGON = "polygon",
|
|
13
|
+
/** 输入提示 */
|
|
14
|
+
INPUT_TIPS = "inputTips"
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* 坐标点
|
|
18
|
+
*/
|
|
19
|
+
export interface Coordinates {
|
|
20
|
+
latitude: number;
|
|
21
|
+
longitude: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* POI 信息
|
|
25
|
+
*/
|
|
26
|
+
export interface POI {
|
|
27
|
+
/** POI ID */
|
|
28
|
+
id: string;
|
|
29
|
+
/** 名称 */
|
|
30
|
+
name: string;
|
|
31
|
+
/** 地址 */
|
|
32
|
+
address: string;
|
|
33
|
+
/** 坐标 */
|
|
34
|
+
location: Coordinates;
|
|
35
|
+
/** 类型编码 */
|
|
36
|
+
typeCode: string;
|
|
37
|
+
/** 类型描述 */
|
|
38
|
+
typeDes: string;
|
|
39
|
+
/** 电话 */
|
|
40
|
+
tel?: string;
|
|
41
|
+
/** 距离(米),仅周边搜索返回 */
|
|
42
|
+
distance?: number;
|
|
43
|
+
/** 城市名称 */
|
|
44
|
+
cityName?: string;
|
|
45
|
+
/** 城市编码 */
|
|
46
|
+
cityCode?: string;
|
|
47
|
+
/** 省份名称 */
|
|
48
|
+
provinceName?: string;
|
|
49
|
+
/** 区域名称 */
|
|
50
|
+
adName?: string;
|
|
51
|
+
/** 区域编码 */
|
|
52
|
+
adCode?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* POI 搜索选项
|
|
56
|
+
*/
|
|
57
|
+
export interface POISearchOptions {
|
|
58
|
+
/** 搜索关键词 */
|
|
59
|
+
keyword: string;
|
|
60
|
+
/** 城市名称或城市编码(可选) */
|
|
61
|
+
city?: string;
|
|
62
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
63
|
+
types?: string;
|
|
64
|
+
/** 每页记录数,默认 20,最大 50 */
|
|
65
|
+
pageSize?: number;
|
|
66
|
+
/** 当前页码,从 1 开始,默认 1 */
|
|
67
|
+
pageNum?: number;
|
|
68
|
+
/** 是否按照距离排序,需要设置中心点 */
|
|
69
|
+
sortByDistance?: boolean;
|
|
70
|
+
/** 中心点坐标,用于距离排序或周边搜索 */
|
|
71
|
+
center?: Coordinates;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* 周边搜索选项
|
|
75
|
+
*/
|
|
76
|
+
export interface NearbySearchOptions {
|
|
77
|
+
/** 搜索关键词 */
|
|
78
|
+
keyword: string;
|
|
79
|
+
/** 中心点坐标 */
|
|
80
|
+
center: Coordinates;
|
|
81
|
+
/** 搜索半径,单位:米,默认 1000,最大 50000 */
|
|
82
|
+
radius?: number;
|
|
83
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
84
|
+
types?: string;
|
|
85
|
+
/** 每页记录数,默认 20,最大 50 */
|
|
86
|
+
pageSize?: number;
|
|
87
|
+
/** 当前页码,从 1 开始,默认 1 */
|
|
88
|
+
pageNum?: number;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* 沿途搜索选项
|
|
92
|
+
*/
|
|
93
|
+
export interface AlongSearchOptions {
|
|
94
|
+
/** 搜索关键词 */
|
|
95
|
+
keyword: string;
|
|
96
|
+
/** 路线坐标点数组 */
|
|
97
|
+
polyline: Coordinates[];
|
|
98
|
+
/** 搜索范围,单位:米,默认 500,最大 1000 */
|
|
99
|
+
range?: number;
|
|
100
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
101
|
+
types?: string;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* 多边形搜索选项
|
|
105
|
+
*/
|
|
106
|
+
export interface PolygonSearchOptions {
|
|
107
|
+
/** 搜索关键词 */
|
|
108
|
+
keyword: string;
|
|
109
|
+
/** 多边形顶点坐标数组 */
|
|
110
|
+
polygon: Coordinates[];
|
|
111
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
112
|
+
types?: string;
|
|
113
|
+
/** 每页记录数,默认 20,最大 50 */
|
|
114
|
+
pageSize?: number;
|
|
115
|
+
/** 当前页码,从 1 开始,默认 1 */
|
|
116
|
+
pageNum?: number;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* 输入提示选项
|
|
120
|
+
*/
|
|
121
|
+
export interface InputTipsOptions {
|
|
122
|
+
/** 关键词 */
|
|
123
|
+
keyword: string;
|
|
124
|
+
/** 城市名称或城市编码(可选) */
|
|
125
|
+
city?: string;
|
|
126
|
+
/** POI 类型(可选),多个类型用 | 分隔 */
|
|
127
|
+
types?: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* 输入提示结果
|
|
131
|
+
*/
|
|
132
|
+
export interface InputTip {
|
|
133
|
+
/** 提示 ID */
|
|
134
|
+
id: string;
|
|
135
|
+
/** 名称 */
|
|
136
|
+
name: string;
|
|
137
|
+
/** 地址 */
|
|
138
|
+
address: string;
|
|
139
|
+
/** 坐标(可能为空) */
|
|
140
|
+
location?: Coordinates;
|
|
141
|
+
/** 类型编码 */
|
|
142
|
+
typeCode?: string;
|
|
143
|
+
/** 城市名称 */
|
|
144
|
+
cityName?: string;
|
|
145
|
+
/** 区域名称 */
|
|
146
|
+
adName?: string;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* 搜索结果
|
|
150
|
+
*/
|
|
151
|
+
export interface SearchResult {
|
|
152
|
+
/** POI 列表 */
|
|
153
|
+
pois: POI[];
|
|
154
|
+
/** 总记录数 */
|
|
155
|
+
total: number;
|
|
156
|
+
/** 当前页码 */
|
|
157
|
+
pageNum: number;
|
|
158
|
+
/** 每页记录数 */
|
|
159
|
+
pageSize: number;
|
|
160
|
+
/** 总页数 */
|
|
161
|
+
pageCount: number;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* 输入提示结果
|
|
165
|
+
*/
|
|
166
|
+
export interface InputTipsResult {
|
|
167
|
+
/** 提示列表 */
|
|
168
|
+
tips: InputTip[];
|
|
169
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SearchType = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* 搜索类型
|
|
6
|
+
*/
|
|
7
|
+
var SearchType;
|
|
8
|
+
(function (SearchType) {
|
|
9
|
+
/** POI 搜索 */
|
|
10
|
+
SearchType["POI"] = "poi";
|
|
11
|
+
/** 周边搜索 */
|
|
12
|
+
SearchType["NEARBY"] = "nearby";
|
|
13
|
+
/** 沿途搜索 */
|
|
14
|
+
SearchType["ALONG"] = "along";
|
|
15
|
+
/** 多边形搜索 */
|
|
16
|
+
SearchType["POLYGON"] = "polygon";
|
|
17
|
+
/** 输入提示 */
|
|
18
|
+
SearchType["INPUT_TIPS"] = "inputTips";
|
|
19
|
+
})(SearchType || (exports.SearchType = SearchType = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const expo_modules_core_1 = require("expo-modules-core");
|
|
4
|
+
/**
|
|
5
|
+
* 高德地图搜索模块
|
|
6
|
+
*
|
|
7
|
+
* 提供 POI 搜索、周边搜索、沿途搜索、多边形搜索和输入提示功能
|
|
8
|
+
*/
|
|
9
|
+
const ExpoGaodeMapSearchModule = (0, expo_modules_core_1.requireNativeModule)('ExpoGaodeMapSearch');
|
|
10
|
+
exports.default = ExpoGaodeMapSearchModule;
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import type { Coordinates, POI, POISearchOptions, NearbySearchOptions, AlongSearchOptions, PolygonSearchOptions, InputTipsOptions, InputTip, SearchResult, InputTipsResult } from './ExpoGaodeMapSearch.types';
|
|
2
|
+
/**
|
|
3
|
+
* 初始化搜索模块(可选)
|
|
4
|
+
*
|
|
5
|
+
* 如果 API Key 已通过以下方式设置,则无需调用此方法:
|
|
6
|
+
* 1. app.json 的 plugins 中配置了 iosApiKey(推荐)
|
|
7
|
+
* 2. 调用了 ExpoGaodeMap.initSDK()
|
|
8
|
+
* 3. 在 AppDelegate 中手动设置
|
|
9
|
+
*
|
|
10
|
+
* 此方法会在首次调用搜索功能时自动执行,手动调用可以提前检测配置问题。
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import { initSearch } from '@expo-gaode-map/search';
|
|
15
|
+
*
|
|
16
|
+
* // 可选:提前初始化以检测问题
|
|
17
|
+
* initSearch();
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare function initSearch(): void;
|
|
21
|
+
/**
|
|
22
|
+
* POI 搜索
|
|
23
|
+
*
|
|
24
|
+
* @param options 搜索选项
|
|
25
|
+
* @returns 搜索结果
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```typescript
|
|
29
|
+
* const result = await searchPOI({
|
|
30
|
+
* keyword: '酒店',
|
|
31
|
+
* city: '北京',
|
|
32
|
+
* pageSize: 20,
|
|
33
|
+
* pageNum: 1,
|
|
34
|
+
* });
|
|
35
|
+
* console.log('找到', result.total, '个结果');
|
|
36
|
+
* result.pois.forEach(poi => {
|
|
37
|
+
* console.log(poi.name, poi.address);
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export declare function searchPOI(options: POISearchOptions): Promise<SearchResult>;
|
|
42
|
+
/**
|
|
43
|
+
* 周边搜索
|
|
44
|
+
*
|
|
45
|
+
* @param options 搜索选项
|
|
46
|
+
* @returns 搜索结果
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ```typescript
|
|
50
|
+
* const result = await searchNearby({
|
|
51
|
+
* keyword: '餐厅',
|
|
52
|
+
* center: { latitude: 39.9, longitude: 116.4 },
|
|
53
|
+
* radius: 1000,
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare function searchNearby(options: NearbySearchOptions): Promise<SearchResult>;
|
|
58
|
+
/**
|
|
59
|
+
* 沿途搜索
|
|
60
|
+
*
|
|
61
|
+
* @param options 搜索选项
|
|
62
|
+
* @returns 搜索结果
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* ```typescript
|
|
66
|
+
* const result = await searchAlong({
|
|
67
|
+
* keyword: '加油站',
|
|
68
|
+
* polyline: [
|
|
69
|
+
* { latitude: 39.9, longitude: 116.4 },
|
|
70
|
+
* { latitude: 39.91, longitude: 116.41 },
|
|
71
|
+
* ],
|
|
72
|
+
* range: 500,
|
|
73
|
+
* });
|
|
74
|
+
* ```
|
|
75
|
+
*/
|
|
76
|
+
export declare function searchAlong(options: AlongSearchOptions): Promise<SearchResult>;
|
|
77
|
+
/**
|
|
78
|
+
* 多边形搜索
|
|
79
|
+
*
|
|
80
|
+
* @param options 搜索选项
|
|
81
|
+
* @returns 搜索结果
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```typescript
|
|
85
|
+
* const result = await searchPolygon({
|
|
86
|
+
* keyword: '学校',
|
|
87
|
+
* polygon: [
|
|
88
|
+
* { latitude: 39.9, longitude: 116.4 },
|
|
89
|
+
* { latitude: 39.91, longitude: 116.4 },
|
|
90
|
+
* { latitude: 39.91, longitude: 116.41 },
|
|
91
|
+
* ],
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
export declare function searchPolygon(options: PolygonSearchOptions): Promise<SearchResult>;
|
|
96
|
+
/**
|
|
97
|
+
* 输入提示
|
|
98
|
+
*
|
|
99
|
+
* @param options 搜索选项
|
|
100
|
+
* @returns 提示结果
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* ```typescript
|
|
104
|
+
* const result = await getInputTips({
|
|
105
|
+
* keyword: '天安门',
|
|
106
|
+
* city: '北京',
|
|
107
|
+
* });
|
|
108
|
+
* result.tips.forEach(tip => {
|
|
109
|
+
* console.log(tip.name, tip.address);
|
|
110
|
+
* });
|
|
111
|
+
* ```
|
|
112
|
+
*/
|
|
113
|
+
export declare function getInputTips(options: InputTipsOptions): Promise<InputTipsResult>;
|
|
114
|
+
export type { Coordinates, POI, POISearchOptions, NearbySearchOptions, AlongSearchOptions, PolygonSearchOptions, InputTipsOptions, InputTip, SearchResult, InputTipsResult, };
|
|
115
|
+
export { SearchType } from './ExpoGaodeMapSearch.types';
|
|
116
|
+
declare const _default: {
|
|
117
|
+
initSearch: typeof initSearch;
|
|
118
|
+
searchPOI: typeof searchPOI;
|
|
119
|
+
searchNearby: typeof searchNearby;
|
|
120
|
+
searchAlong: typeof searchAlong;
|
|
121
|
+
searchPolygon: typeof searchPolygon;
|
|
122
|
+
getInputTips: typeof getInputTips;
|
|
123
|
+
};
|
|
124
|
+
export default _default;
|