Installation

Download

Download binaries or source code and build it by yourself.
Place the assembly file in your web application bin folder or add a reference to the builded assembly.

Register

GoogleMap control and extenders could be registered globally for you application in Web.config file or per page.
Register GoogleMap Control 5.0 and above.
  • Add control globally in Web.config
Add next line (or with settings you prefer) to your web.config file under /configuration/system.web/pages/controls:
<add tagPrefix="artem" namespace="Artem.Google.UI" assembly="Artem.Google"/>
Or a very simple web.config file should look like:
<?xml version="1.0"?>
<configuration>
    <appSettings/>
    <connectionStrings/>
    <system.web>
        <compilation debug="true">
        </compilation>
        <authentication mode="Windows" />
        <pages>
            <controls>
                <add tagPrefix="artem" namespace="Artem.Google.UI" assembly="Artem.Google"/>
            </controls>
        </pages>
    </system.web>
</configuration>
  • Add control in particular page
When adding the control 'in-line' in a particular web page just register it like:
<%@ Register assembly="Artem.Google" namespace="Artem.Google.UI" tagprefix="artem" %>

Register GoogleMap Control 4.1 and bellow.
  • Add control globally in Web.config
Add next line (or with settings you prefer) to your web.config file under /configuration/system.web/pages/controls:
<add tagPrefix="artem" namespace="Artem.Web.UI.Controls" assembly="Artem.GoogleMap"/>
Or a very simple web.config file should look like:
<?xml version="1.0"?>
<configuration>
    <appSettings/>
    <connectionStrings/>
    <system.web>
        <compilation debug="true">
        </compilation>
        <authentication mode="Windows" />
        <pages>
            <controls>
                <add tagPrefix="artem" namespace="Artem.Web.UI.Controls" assembly="Artem.GoogleMap"/>
            </controls>
        </pages>
    </system.web>
</configuration>
  • Add control in particular page
When adding the control 'in-line' in a particular web page just register it like:
<%@ Register assembly="Artem.Google" namespace="Artem.Google.UI" tagprefix="artem" %>

How to use it?
Go to Samples page.


Happy coding ...

Any smart ideas and comments are welcome. Please do not hesitate to question me
See more about me and my works under ArtemBG | WebUtil.net

Last edited Oct 23, 2011 at 11:25 AM by velio, version 10

Comments

piotrwolski Dec 24, 2013 at 10:15 PM 
Can you register the google api key in web.config - would be much easier to maintain in one place.

MaheshSanika Aug 29, 2012 at 9:57 AM 
Hi

Can you please let me know, is it Open Source Project? Shall i use it in my project?

Waiting for your reply?

Mahesh

Jay1234567654321 Mar 9, 2012 at 5:55 PM 
All I get is a gray block with google logo at the bottom. Nothing more.

anlaamou Aug 18, 2011 at 2:52 PM 
Hi,
I followed these steps and got this error :
>>
Line: 1
Error: Unable to get value of the property 'ta': object is null or undefined
<<

any help? Tks!

DLodes Feb 10, 2011 at 2:24 PM 
Can I use the same directions above for Google Geocoding and release 5.0?