jmelosegui / GooglemapMvc

The control wraps Google maps API simplifying the use of Google maps in ASP.NET MVC applications.
MIT License
116 stars 61 forks source link

does no show the map #144

Closed Lduran97 closed 2 years ago

Lduran97 commented 7 years ago

I have a problem in my app mvc 5

I install the pack but does not show the map

e1

err

Batelkan commented 7 years ago

put .Render() at the end,

@( Html.GoogleMap() .Name("map") .Height(300) .Center(c => c.Latitude(23.140971656573335) .Longitude(-82.39435493946075)) .Markers(m => m.Add().Title("Hello World!")) ).Render();

work for me

jmelosegui commented 2 years ago

I have updated the code for .net6.

Please try the new version and reopen this issue if it still exists.