GoogleCirclePolygon Reference

Click on the map below to set the center point of circle polygon. Set the radius and click 'Draw' button the draw the polygon.

Point
Radius

collapse Description
Wraps Google Maps API class GPolygon and extends it to draw circle polygon.

The control above is initialized with this code.

<artem:GoogleMap ID="GoogleMap2" runat="server" Width="530px" Height="500px" Latitude="42.1229" Longitude="24.7879"
        Zoom="4" EnableScrollWheelZoom="true" BorderStyle="Solid" BorderColor="#999999" BorderWidth="1" OnClientClick="handleClick">
        <Polygons>
            <artem:GoogleCirclePolygon Latitude="42.1229" Longitude="24.7879" Radius="400" FillColor="Blue" FillOpacity=".5"
                StrokeColor="#000080" StrokeOpacity=".75" StrokeWeight="2" />
        </Polygons>
    </artem:GoogleMap>
collapse Properties
  • Latitude - The latitide for the center point of circle polygon.
  • Longitude - The longitude for the center point of circle polygon.
  • Radius - The radius of circle polygon in pixels.
collapse Methods(Actions)
  • Hide - Method to fire invokation of hide function of the GPolygon instance from the server-side code.
  • Show - Method to fire invokation of show function of the GPolygon instance from the server-side code.
collapse Known Issues