Geolocation Issues on Browsers
The Problem
Many browsers have recently changed their policy regarding location services. All requests
for HTML location services (specifically “Use my location”) will fail unless the requesting
site is using SSL. We can and should expect that this will be followed by all browsers in
the future.
Who does this affect?
Maps that are not currently using https or a CNAME on browsers.
What does this mean for map users?
Any map user that tries to use the “My Location” feature will fail if the site does not use SSL.
Recommended Solution
Hosted Domain using an Iframe
Using an iframe to embed your map within your website will resolve this issue. We have recently made changes to our iframe integration to provide a better solution. Iframes allow you to keep the map within your domain, allows for SEO content control for better results in search engines, and does not require custom code. In order to keep the existing URL, this solution requires you to host the domain name and SSL certificate on your existing web servers. This will also require a small amount of work to integrate some JavaScript code into your website so that all share URLs work correctly.
Code to transfer hash from browser to iframe can be found in this article:
Embedding Maps with a Custom Share URL
Additional Solution
CNAME re-direct
If you choose to use a different URL to host the iframe code, we can set up a 301 re-direct
to ensure all users with access to the old URL can still reach the map with the new URL. In
this solution, the URL would redirect to the standard “myatlas.cms.com/map.....” or any
other URL you create and provide us with. If you do not want to create a new domain
name and would rather alter your URL to match your existing domain name, we can do
this solution for you as well.
Comments
0 comments
Please sign in to leave a comment.