Rectangle Overlay View Sample

ASP.NET Google Map Control rectangle overlay view only sample.

A demo page for adding a simple view only ASP.NET Google Map Control rectangle overlay to a map in the page markup.

Thank you for using the Development Build of ASP.NET Google Map Control to build Google Maps faster.
Purchase the Commercial Build now to get access to all product updates and the ASP.NET Google Map Control expert support.

This is a dummy submit, nothing to do, but just to test changes are preserved after a post back.


Source

Markup

<%@ Page Language="C#" MasterPageFile="../Overlays.master" AutoEventWireup="false" MaintainScrollPositionOnPostback="true" %>

<asp:Content ID="Content2" runat="server" ContentPlaceHolderID="MainContent">
    <div class="jumbotron">
        <h2>Rectangle Overlay View Sample</h2>
        <p>
            ASP.NET Google Map Control rectangle overlay view only sample.
        </p>
    </div>
    <p>
        A demo page for adding a simple view only ASP.NET Google Map Control rectangle overlay to a map in the page markup.
    </p>
    <div class="map-wrap">
        <map:GoogleMap ID="GoogleMap1" runat="server" Width="100%" Height="600px" Latitude="42.1229"
            Longitude="24.7879" Zoom="6" CssClass="map" FullscreenControl="true">
        </map:GoogleMap>
        <map:GoogleRectangle TargetControlID="GoogleMap1" runat="server" FillColor="Green"  Draggable="true" Editable="true" 
            Bounds-SouthWest-Latitude="44.802416" Bounds-SouthWest-Longitude="20.465601" Bounds-NorthEast-Latitude="37.97918" Bounds-NorthEast-Longitude="23.716647" >
        </map:GoogleRectangle>
    </div>

    <p>
        This is a dummy submit, nothing to do, but just to test changes are preserved after a post back.
    </p>
    <asp:Button runat="server" Text="Submit" />

    
</asp:Content>