1
Vote

Maps don't paint the pushpin when i load a model with a property as a IEnumerable<Pushpin>

description

I render my map this way:
 
Html.RenderPartial("MapDisplay", new ViewDataDictionary()
                                                             {
                                                                 {
                                                                     "Bing", Ajax.BingMap()
                                                                     .CssClass("BingMap")
                                                                     .AddPushpin(Model.Positions)
                                                                     }
                                                             });
 
And "Model.Positions" is a "public IEnumerable<Pushpin> Positions { get; set; }" propertie from the model...
 
What can i do to show a pushpin list? Exist another way to do that? Anybody can help me?
 
Thanks people!

comments