Gpolygon"

From Documentation
m ((via JWB))
(7 intermediate revisions by 4 users not shown)
Line 3: Line 3:
 
= Gpolygon =
 
= Gpolygon =
  
*Demonstration: N/A
+
*Demonstration: [http://www.zkoss.org/zkdemo/reporting/google_map Gmaps]
 
*Java API: N/A
 
*Java API: N/A
 
*JavaScript API: N/A
 
*JavaScript API: N/A
 +
*Style Guide: N/A
  
 
= Employment/Purpose =
 
= Employment/Purpose =
Line 16: Line 17:
  
 
<source lang="xml" >
 
<source lang="xml" >
<window title="Google Maps">
+
<window title="Google Maps" border="normal" width="520px">
 
     <script type="text/javascript" content="zk.googleAPIkey='Your-Google-API-Key'"/>
 
     <script type="text/javascript" content="zk.googleAPIkey='Your-Google-API-Key'"/>
 
     <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true">
 
     <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true">
Line 25: Line 26:
 
</source>
 
</source>
  
=Supported events=
+
== Disable Path Encoding ==
  
 +
{{versionSince| 3.3.0}}
  
{| border="1" | width="100%"
+
see: [[ZK_Component_Reference/Diagrams_and_Reports/Gmaps/Gpolyline#Disable_Path_Encoding | Gpolyline - Disable_Path_Encoding]]
 +
 
 +
=Supported Events=
 +
 
 +
 
 +
{| class='wikitable' | width="100%"
 
! <center>Name</center>
 
! <center>Name</center>
 
! <center>Event Type</center>
 
! <center>Event Type</center>
Line 35: Line 42:
 
| None
 
| None
 
|}
 
|}
 +
*Inherited Supported Events: [[ZK_Component_Reference/Diagrams_and_Reports/Gmaps/Gpolyline#Supported_Events | Gpolyline]]
  
 
=Supported Children=
 
=Supported Children=
Line 40: Line 48:
 
  *None
 
  *None
  
=Use cases=
+
=Use Cases=
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Description !! Example Location
 
! Version !! Description !! Example Location
 
|-
 
|-
Line 51: Line 59:
  
 
=Version History=
 
=Version History=
 +
{{LastUpdated}}
  
{| border='1px' | width="100%"
+
{| class='wikitable' | width="100%"
 
! Version !! Date !! Content
 
! Version !! Date !! Content
 
|-
 
|-

Revision as of 08:28, 8 July 2022

Gpolygon

  • Demonstration: Gmaps
  • Java API: N/A
  • JavaScript API: N/A
  • Style Guide: N/A

Employment/Purpose

Polygon drawn on the Google Maps per the given (latitude, longitude) points, visible zoom level(0~3), and fill color, etc..

Example

ZKComRef Gpolygon Example.png

<window title="Google Maps" border="normal" width="520px">
    <script type="text/javascript" content="zk.googleAPIkey='Your-Google-API-Key'"/>
    <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true">
        <gpolygon points="37.42838786,-122.13998795,3,37.43561240,-122.13277816,3,37.42416187,-122.11441040,3,
                                       37.42157162,-122.12007522,3,37.41734524,-122.12316513,3"/>
    </gmaps>
</window>

Disable Path Encoding

Since  3.3.0

see: Gpolyline - Disable_Path_Encoding

Supported Events

Name
Event Type
None None

Supported Children

*None

Use Cases

Version Description Example Location
     

Version History

Last Update : 2022/07/08


Version Date Content
     



Last Update : 2022/07/08

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.