capacitor-plugins icon indicating copy to clipboard operation
capacitor-plugins copied to clipboard

Support for Ground Overlays

Open KimberleeDArmstrong opened this issue 2 years ago • 10 comments

Feature Request

Plugin

Google Maps Plugin

Description

I was wondering if there are any plans to support the Ground Overlay feature for Google Maps SDK. More information for the feature are here...

iOS: https://developers.google.com/maps/documentation/ios-sdk/overlays

Android: https://developers.google.com/maps/documentation/android-sdk/reference/com/google/android/libraries/maps/model/GroundOverlay

Platform(s)

Android iOS Web

Preferred Solution

The cordova plugin for google maps had an addGroundOverlay function. var groundOverlay = map.addGroundOverlay({ 'url': "../images/newark_nj_1922.jpg", 'bounds': bounds, 'opacity': 0.5 });

Alternatives

I am open to any alternatives. I would just like the ability to add a Ground Overlay

Additional Context

KimberleeDArmstrong avatar Aug 28 '23 16:08 KimberleeDArmstrong

Hi @KimberleeDArmstrong did you find any workaround to this?

ikenna042 avatar Nov 10 '23 09:11 ikenna042

@ikenna042 I have not. This is the one thing that is keeping us from moving from Cordova to Ionic Capacitor, unfortunately

KimberleeDArmstrong avatar Nov 10 '23 18:11 KimberleeDArmstrong

ive successfully created the add ground overlays for all 3 platforms. happy to share if someone wants to update the repo.

dpetraz avatar Mar 26 '24 08:03 dpetraz

@dpetraz That's great news. We would be interested in that for sure. @Ionitron any possiblilty of getting this in the build?

KimberleeDArmstrong avatar Jun 05 '24 16:06 KimberleeDArmstrong

I need this function too, @dpetraz / @Ionitron any news on this topic? How did you perform the new function? Do you have any branch to fork?

menghi01s avatar Aug 09 '24 10:08 menghi01s

I don't have a fork that I can provide, but I've packaged the helper functions which you may find helpful. the code is ugly and unconventional, but it does the job. helperfunctions.txt

dpetraz avatar Aug 09 '24 15:08 dpetraz