Gpolyline"

From Documentation
Line 16: Line 16:
  
 
<source lang="xml" >
 
<source lang="xml" >
<window title="Google Maps">
+
<window title="Google Maps">
  <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true">
+
    <script type="text/javascript" content="zk.googleAPIkey='Your-Google-API-Key'"/>
<gpolyline points="37.42838786,-122.13998795,3,37.43561240,-122.13277816,3,37.42416187,-122.11441040,3,
+
    <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true">
                                              37.42157162,-122.12007522,3,37.41734524,-122.12316513,3,37.42838786,-122.13998795,3"/>
+
        <gpolyline points="37.42838786,-122.13998795,3,37.43561240,-122.13277816,3,37.42416187,-122.11441040,3,
  </gmaps>
+
                                      37.42157162,-122.12007522,3,37.41734524,-122.12316513,3,37.42838786,-122.13998795,3"/>
</window>
+
    </gmaps>
 +
</window>
 
</source>
 
</source>
  

Revision as of 08:17, 18 May 2010

Gpolyline

  • Demonstration: N/A
  • Java API: N/A
  • JavaScript API: N/A

Employment/Purpose

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

Example

ZKComRef Gpolyline Example.png

<window title="Google Maps">
    <script type="text/javascript" content="zk.googleAPIkey='Your-Google-API-Key'"/>
    <gmaps id="mymap" width="500px" height="300px" showSmallCtrl="true">
        <gpolyline 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,37.42838786,-122.13998795,3"/>
    </gmaps>
</window>

Supported events

Name
Event Type
None None

Supported Children

*None

Use cases

Version Description Example Location
     

Version History

Version Date Content
2.51 05/18/2010 Initialization



Last Update : 2010/05/18

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