Skip to content

Instantly share code, notes, and snippets.


Mark Simpson MrKistic

View GitHub Profile
MrKistic / geolocation-IE11-map.patch
Created Nov 13, 2019
Drupal 8 Geolocation/Google maps IE11 bug patch
View geolocation-IE11-map.patch
diff --git a/modules/geolocation_google_maps/js/geolocation-google-maps-api.js b/modules/geolocation_google_maps/js/geolocation-google-maps-api.js
index 66cc97c..d515767 100644
--- a/modules/geolocation_google_maps/js/geolocation-google-maps-api.js
+++ b/modules/geolocation_google_maps/js/geolocation-google-maps-api.js
@@ -172,7 +172,7 @@
}, marker);
- marker.setMap(null);
+ !!marker.setMap ? marker.setMap(null) : null;
MrKistic / gist:1be14448860170c26bf3
Last active Aug 29, 2015 — forked from warnergodfrey/gist:7512051
Access the ATO Business Portal using AusKey Mac OS X Mountain Lion
View gist:1be14448860170c26bf3
  • Install the latest JRE from Oracle
  • In the Java Control Panel, go to the Security tab and make sure 'Enable Java Content' is checked
  • Open Safari
  • Go to the ATO Business portal site
  • Click Login
  • A dialog will apear asking you 'Do you want to trust the website “” to use the “Java” plug-in?'
  • Click 'Trust'
  • Now you will be asked 'Do you want to run this application?'
  • Click 'Run'
  • Another dialog will appear asking you to 'Allow access to the following application from this website?'
MrKistic / gmap-recentre.html
Created Jul 2, 2013
Example of a responsive embedded Google map. It will recenter on window resize.
View gmap-recentre.html
<!DOCTYPE html>
<title>Google Maps JavaScript API v3 Example: Map Simple</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"/>
<meta charset="utf-8"/>
html, body {
margin: 0;