Geolocation command returned no results
I'm getting this error when I click click the Find Me, Track Me, or Follow Me buttons in the HTML5 viewer using an Ipad (in Safari and Chrome). But I can find myself on the same device using google maps.
I've added the Geometry service to the site.
Has anyone else had this problem. We're on 2.10.1
0
-
Hi Scott,
Are both/all URLs using https?
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 -
No, they are using http. I tried it on my PC (using http) and that worked. 0 -
What geometry service did you add? 0 -
Using Chrome on your PC?
https://developers.google.com/web/updates/2016/04/geolocation-on-secure-contexts-only0 -
Mike, the geometry service is the generic one that is part of our ArcGIS Server installation.
Wayne, sorry, yes Chrome was the browser I used on my PC.0 -
The ESRI sample geometry services are not meant for production. It is better to publish and use your own. If you want to still use ESRI's, use this one:
https://sampleserver6.arcgisonline.com/arcgis/rest/services/Utilities/Geometry/GeometryServer0 -
I get the same error with Esri's service.
We had some issues with setting our sites up as https and bringing in mixed content. If we have to have them at https for this to work, I guess we'll revisit those mixed content issues.0 -
As Mike has pointed out, the sample servers are not meant for production. We recommend using your own.
https://enterprise.arcgis.com/en/server/latest/publish-services/windows/about-the-geometry-service.htm
I also wouldn't expect Geolocation to work on http, it was one of the first to require https, others will follow so if you can get it working with https it would be best.
Mixed content is a bit of an Easter egg hunt. I find editing the site.xml and searching for "http://" helpful but make sure you don't edit any schema URLs. Searching the site.xml and making the updates in Manager would be the safest route.0 -
I went ahead and created a new geometry service based on the article.
We will work on getting the Geocortex environment moved to https and see if that fixes the issue. I'll check back in when that has been completed.0 -
We made the switch to https and I'm still getting the error. I'm wondering if this isn't a device issue. 0 -
After making the switch to https, does the browser indicate it is happy with it? Mixed content would downgrade the connection to http and you would still see the issue. Feel free to submit a support ticket as well.
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
Please sign in to leave a comment.
Comments
11 comments