Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

HTML5 Hybrid app, how to open location in user's default map app



  • Hi!
    I am creating an hybrid HTML5 app to use in iOS and Android. I am testing it with Monaca Debugger in both OS.
    In my app I have links to open in other apps.
    One for maps: I have a list with some places with a button to see each location in a map. I am fine if the location is opened in the user default maps app. So I simply put geo link like <a href=“geo:124.028582,-29.201930” target="_blank">Click here for map</a>, and it works fine in Monaca Debugger for Android (it opens Google Maps App), but I get a “ReferenceError: Can’t find variable: js” in Monaca Debugger for iOS.
    As I am a new Monaca user, I don’t know if I am doing something wrong or may be this kind of functionalities are not supported in Monaca Debugger for iOS.
    Many thanks in advance.



  • @gb Can you post your JS code?