PictometryHost is not defined
I am trying to implement Pictometry. I followed the instructions in the GVH admin guide (I even rolled back my changes and did it twice) and I can't figure out what I am doing wrong.
I believe I am configuring everything in the correct places with the correct syntax. I think there is something wrong with my choice of URLs or API key. The keys and urls were sent to me.
I can open the Linked Maps tool in my viewer, but I get the following error in my console:
PictometryHost is not defined
The pictometry does not load. When I look closer at the error, I see that it says:
var ipa = new PictometryHost('pictometry_ipa', 'http://my.domain.com/ipa/v1/load.php');
Except, of course, it has my actual domain in it. I configured the files to use HTTPS, but the error is showing HTTP - any thoughts?
0
-
Hi Melanie,
In your Pictometry.aspx file in the HTML5Viewer\Resources\3rdPartyMaps folder, there are these two lines -
public string IpaLoadUrl = "http://pol.pictometry.com/ipa/v1/load.php";
public string IpaJsLibUrl = "http://pol.pictometry.com/ipa/v1/embed/host.php?apikey=" + ApiKey;
Did you change them to use https in this file?
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Was this ever resolved? I am having this issue now as well and haven't had much luck figuring out why the URLs keep pulling up as http.
0
Please sign in to leave a comment.
Comments
2 comments