If you simply do this...
View on map
If the browser is on iOS/Mac, the native maps app will launch (doesn't matter the browser). If on android/windows/other, maps.apple.com will redirect to maps.google.com
Docs: https://developer.apple.com/library/ios/featuredarticles/iPhoneURLScheme_Reference/MapLinks/MapLinks.html#//apple_ref/doc/uid/TP40007894-SW1