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 meSee more about me and my works under
ArtemBG |
WebUtil.net