Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I just installed AGM 2.0.3 on an Umbraco 7.2.2 site and I configured my AGM Data Type with a Google API Key and set the format to "Json".
In my partial view I get my property value like this (where currNode is an IPublishedContent representing the current page):
AngularGoogleMaps.Model mapModel = currNode.GetPropertyValue<AngularGoogleMaps.Model>("geoLocation");
In mapModel I have two problems. The biggest problems is that mapModel.Api is null ... so I can't get my Google API Key for my front end Google Map implementation.
And second is that mapModel.Format is "csv" and not "json". Not sure this is actually a "problem" but it's definitely wrong as my Data Type is configured to save the data as json.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted