Skip to main content
Google Maps Platform
  • Google Maps Platform
概览 产品 价格 文档
  • 开始使用
  • 开始使用 Google Maps Platform
  • 功能探索器
  • 价格和结算
  • 安全与合规性
  • 报告与监控
  • 常见问题解答
  • 支持和资源
  • 客户服务
  • 突发事件管理
  • 地图
  • Maps JavaScript API
  • Maps SDK for Android
  • Maps SDK for iOS
  • Flutter 版 Google 地图
  • Maps Embed API
  • Maps Static API
  • 图像数据分析
  • Street View Static API
  • 地图网址
  • Aerial View API
  • Elevation API
  • Map Tiles API
  • Maps Datasets API
  • Web 组件
  • 路线
  • Routes API
  • Navigation SDK for Android
  • Navigation SDK for iOS
  • Flutter 导航
  • React Native 导航
  • Roads API
  • Route Optimization API
  • Analytics
  • Google 地球
  • 地点数据分析
  • 图像数据分析
  • 道路管理数据分析
  • 地点
  • Places API
  • Places SDK for Android
  • Places SDK for iOS
  • Maps JavaScript API 地点库
  • Geocoding API
  • Geolocation API
  • Address Validation API
  • Time Zone API
  • Places Aggregate API
  • 环境
  • Air Quality API
  • Pollen API
  • Solar API
  • Weather API
  • 解决方案
  • 整合 AI 技术的构建
  • 行业解决方案
  • Mobility 服务
  • 其他资源
  • API 安全性最佳实践
  • 数字签名指南
  • 地图覆盖范围详情
  • 优化指南
  • 移动操作系统和软件支持
  • 发布阶段
  • 旧版产品
  • 弃用
  • 网址编码
  • WordPress 用户
博客 社区
  • GitHub
  • YouTube
  • LinkedIn
  • Discord
  • 创新者
  • 问题跟踪器
/
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어
  • Android
  • Maps 3D SDK for Android
开始使用 联系销售团队
指南 参考文档 示例 资源
Google Maps Platform
  • Google Maps Platform
  • 概览
  • 产品
  • 价格
  • 文档
    • More
    • 指南
    • 参考文档
    • 示例
    • 资源
  • 博客
  • 社区
    • More
  • 参考概览
  • com.google.android.gms.maps3d
    • Overview
    • 接口
      • OnCameraAnimationEndListener
      • OnCameraChangedListener
      • OnMap3DClickListener
      • OnMap3DViewReadyCallback
      • OnMapReadyListener
      • OnMapSteadyListener
      • OnMarkerClickListener
      • OnModelClickListener
      • OnPolygonClickListener
      • OnPolylineClickListener
    • 类
      • GoogleMap3D
      • Map3DOptions
      • Map3DOptions.Companion
      • Map3DView
      • 验证器
      • ValidatorsKt
  • com.google.android.gms.maps3d.model
    • Overview
    • 类
      • 摄像头
      • CameraRestriction
      • FlyAroundOptions
      • FlyToOptions
      • 洞
      • LatLngAltitude
      • LatLngBounds
      • 标记
      • MarkerOptions
      • 模型
      • ModelOptions
      • 屏幕方向
      • Polygon
      • PolygonOptions
      • Polyline
      • PolylineOptions
      • Vector3D
      • dslKt
    • 注解
      • AltitudeMode
      • CollisionBehavior
      • FacingMode
      • Map3DMode
  • 开始使用
  • 开始使用 Google Maps Platform
  • 功能探索器
  • 价格和结算
  • 安全与合规性
  • 报告与监控
  • 常见问题解答
  • 支持和资源
  • 客户服务
  • 突发事件管理
  • 地图
  • Maps JavaScript API
  • Maps SDK for Android
  • Maps SDK for iOS
  • Flutter 版 Google 地图
  • Maps Embed API
  • Maps Static API
  • 图像数据分析
  • Street View Static API
  • 地图网址
  • Aerial View API
  • Elevation API
  • Map Tiles API
  • Maps Datasets API
  • Web 组件
  • 路线
  • Routes API
  • Navigation SDK for Android
  • Navigation SDK for iOS
  • Flutter 导航
  • React Native 导航
  • Roads API
  • Route Optimization API
  • Analytics
  • Google 地球
  • 地点数据分析
  • 图像数据分析
  • 道路管理数据分析
  • 地点
  • Places API
  • Places SDK for Android
  • Places SDK for iOS
  • Maps JavaScript API 地点库
  • Geocoding API
  • Geolocation API
  • Address Validation API
  • Time Zone API
  • Places Aggregate API
  • 环境
  • Air Quality API
  • Pollen API
  • Solar API
  • Weather API
  • 解决方案
  • 整合 AI 技术的构建
  • 行业解决方案
  • Mobility 服务
  • 其他资源
  • API 安全性最佳实践
  • 数字签名指南
  • 地图覆盖范围详情
  • 优化指南
  • 移动操作系统和软件支持
  • 发布阶段
  • 旧版产品
  • 弃用
  • 网址编码
  • WordPress 用户
  • GitHub
  • YouTube
  • LinkedIn
  • Discord
  • 创新者
  • 问题跟踪器
  • Home
  • Products
  • Google Maps Platform
  • 文档
  • Android
  • Maps 3D SDK for Android
  • 参考文档
Stay organized with collections Save and categorize content based on your preferences.

OnPolylineClickListener

public fun interface OnPolylineClickListener


Listener for polyline click events.

Summary

Public methods

abstract void
onPolylineClick()

Called when a polyline is clicked.

Public methods

onPolylineClick

abstract void onPolylineClick()

Called when a polyline is clicked.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-08-27 UTC.

  • Stack Overflow Stack Overflow
    Ask a question under the google-maps tag.
  • GitHub GitHub
    Fork our samples and try them yourself.
  • Discord Discord
    Chat with fellow developers about Google Maps Platform.
  • Issue Tracker Issue Tracker
    Something wrong? Send us a bug report!
  • Learn More

    • FAQ
    • Capabilities Explorer
    • Places SDK for Android
  • Platforms

    • Android
    • iOS
    • Web
    • Web Services
  • Product Info

    • Pricing and Plans
    • Contact Sales
    • Support
    • Terms of Service
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • All products
  • Terms
  • Privacy
  • ICP证合字B2-20070004号
  • Manage cookies
  • English
  • Deutsch
  • Español
  • Français
  • Indonesia
  • Português – Brasil
  • Русский
  • 中文 – 简体
  • 日本語
  • 한국어