Skip to content

Commit

Permalink
Updating the readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
jmelosegui committed Jul 19, 2015
1 parent 354db3e commit 8f69ee2
Showing 1 changed file with 41 additions and 7 deletions.
48 changes: 41 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# Googlemap Mvc
#Googlemap control for Asp.Net MVC

Googlemap Mvc wraps Google maps API simplifying the use of Google maps in ASP.NET MVC applications.
Googlemap control for Asp.Net MVC wraps Google Maps APIs simplifying the use of Google Maps in ASP.NET MVC applications.

## Features

- [Nuget Package](https://www.nuget.org/packages/Jmelosegui.Mvc.Googlemap/) - for easy setup
- Specific Api Version
- UI Controls
- Client Events
- Map Language
- Multiple Maps
- Client Events
- PartialView with Ajax
- Map Types
- Styled Map Type
- [Image Map Type (Game of Thrones)](http://www.jmelosegui.com/map/MapType/ImageMapType)
- Languages
- Markers
- Custom Icons
- Info Windows
Expand All @@ -20,6 +21,7 @@ Googlemap Mvc wraps Google maps API simplifying the use of Google maps in ASP.NE
- Client Events
- Geocoding
- FitToMarkersBounds
- External Reference
- Shapes
- Polygons
- Circles
Expand All @@ -30,8 +32,40 @@ Googlemap Mvc wraps Google maps API simplifying the use of Google maps in ASP.NE
- Layers
- Heatmap
- Kml

- Traffic
- Transit
- Bicycling Layer

## Install

Inside Visual Studio create a new AspNet Mvc Application. Open the package manager console and install the Googlemap Mvc nuget package by typing the following command.

##### PM> Install-Package Jmelosegui.Mvc.Googlemap

Once you have it go to the Views->Home->Index.cshtml and include the following
```html
<div class="row">
<div class="col-md-12">
@(Html.GoogleMap().Name("map"))
</div>
</div>
```
and at the end of that page add the following

```aspnetmvc
@section scripts
{
@(Html.GoogleMap().ScriptRegistrar())
}
```
Now hit F5 and you should see the map rendering on the page

## Links

[Nuget Package](https://www.nuget.org/packages/Jmelosegui.Mvc.Googlemap/)<br/>
[Online Demo](http://www.jmelosegui.com/map/)<br/>
[Setup Instructions](https://github.com/jmelosegui/GooglemapMvc/wiki/Installation)

## License

Googlemap control for Asp.Net MVC is released under the [GNU GENERAL PUBLIC LICENSE](https://raw.githubusercontent.com/jmelosegui/GooglemapMvc/master/LICENSE) Version 2.

0 comments on commit 8f69ee2

Please sign in to comment.