Home>Support>Drawing on Google Maps Widget

Drawing on Google Maps Widget

Hello, I have been trying to work out how to draw custom shapes on a map created with the SiteOrigin Google Maps widget. I’m wondering if anyone has any tips to hook into the existing maps function to draw polygons and polylines using the Google Maps API? Or if there’s another way to do this.

Thanks.

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 3 years, 11 months ago Craig Rahtz

    The only way I was able to work this out was to deregister and dequeue the internal sow.google-map.js script, modify it with my shape drawing, then queue my custom version.

  2. 3 years, 10 months ago Alex S
    Hi, I Work Here

    Hi Craig,

    Unfortunately, there isn’t currently a way of doing this in an update safe manner. I’ve logged this as a feature request with the rest of the team.

    Kind regards,
    Alex

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More