Use at your own risk, work in progress.
More of the maps REST API's will be supported as I add them.
Fluent HTML Helpers for MVC .NET for use with the HERE Maps REST API.
Static Map Url (in code):
var staticMapUrl = new MapImageBuilder()
.Zoom(5)
.AddMarker(new PoiField(64.0000, 150.0000, "custom text"))
.NoDot(true)
.ToString();
Static map url (in a view):
<img src="@Html.MapImage()
.Zoom(5)
.AddMarker(new PoiField(64.0000, 150.0000, "custom text"))
.NoDot(true)">
This library was created to make working with the HERE Maps REST API easier.
Add a reference to the DLL in your project and ddd your AppId and AppCode (https://developer.here.com/rest-apis/documentation/enterprise-map-image/common/credentials.html) to your .config file
<configuration>
<appSettings>
<add key="HereMaps.AppCode" value="[YOUR AppCode]"/>
<add key="HereMaps.AppId" value="[YOUR AppId]"/>
</appSettings>
...
</configuration>
HERE Maps API: https://developer.here.com/documentation
Work in progress
Work in progress
Work in progress
Use as you see fit.