Google Maps Polygons and App Permissions?

Hi all, I’m new to bubble and programming in general, and I was wondering if you can assist me, I want to draw some interactive polygons on my map for my app but I’m not sure how to do that in bubble, can anyone tell me how?

also I want the app to make a cute little sound whenever the user presses a button, how do i make it so that pressing the button activates the sound?

Hi, bro. I have the same problem. Did you know how to draw interactive polygon? I really wanna know how it can be done :frowning:

Hi guys!
I also need the answer for my app.

Use leaflet in an html block and incorporate the leaflet draw plugin. This code uses MapQuest, but you can switch out map providers to open source:

    <script src=""></script>
    <script src=""></script>
    <link type="text/css" rel="stylesheet" href=""/>
    <link type="text/css" rel="stylesheet" href=""/>

    <script type="text/javascript">
      window.onload = function () {
        L.mapquest.key = 'lYrP4vF3Uk5zgTiGGuEzQGwGIVDGuy24';
        var baseLayer = L.mapquest.tileLayer('map');

        var map ='map', {
          center: [29.953745, -90.074158],
          layers: baseLayer,
          zoom: 10

          'Map': baseLayer

        var drawnItems = L.featureGroup().addTo(map);

        map.addControl(new L.Control.Draw({
          edit: {
            featureGroup: drawnItems,
            poly: {
              allowIntersection: false
          draw: {
            polygon: {
              allowIntersection: false,
              showArea: true

        map.on(L.Draw.Event.CREATED, function (event) {
          var layer = event.layer;


  <body style="border: 0; margin: 0;">
    <div id="map" style="width: 100%; height: 530px;"></div>