Currently module is using SKU: Dynamic Maps which is billable. https://developers.google.com/maps/billing/understanding-cost-of-use#dyn...

We need to add SKU: Embed to make sure the user has option to select between paid and free modes.
https://developers.google.com/maps/documentation/embed/guide#basic_map_m...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

VladimirAus created an issue. See original summary.

jannakha’s picture

Assigned: Unassigned » jannakha
Status: Active » Needs review
FileSize
6.67 KB
jannakha’s picture

Title: Create "Google Map Field: Basic Place Mode" formatter to use free Google Maps. » Create "Google Map Field Embed Place" formatter to use free Google Maps.
Issue summary: View changes
pauloamgomes’s picture

Hi @jannakha
Many thanks for your patch, it seems to work well, however, I believe we also need a new field widget that can deal with the Embed option, are you happy to work on it or do you have other suggestion?

jannakha’s picture

Hi @pauloamgomes!
cool! yeah google maps are expensive now.
All users get $200 credit to use dynamic api, so for smaller organisations that should be enough for editing maps.
But I agree, we do need a new widget for embed maps.
I'm very new to Drupal, it might take me some time to create a new widget.
I'll try to reverse engineer original widget this month or so.

What's the process of getting this patch into the main code I wonder?

pauloamgomes’s picture

I'll merge when I'm comfortable with the patch, from my verifications only the widget is missing, that doesn't affect core functionality but is a bit annoying having the google map popup in the embedded map every time we are editing the contents.

jannakha’s picture

how do you edit content? inplace?
send me a screenshot?

pauloamgomes’s picture

Sure, check below:

field edit

and when opening map set

set map

VladimirAus’s picture

Probably good idea to create separate issue for that.

scot.hubbard’s picture

Status: Needs review » Reviewed & tested by the community

I have merged this patch in the interest of moving this ticket on so that people can have free embedded maps displayed on their sites, even if they still need billable maps to edit them.

Please raise a feature request ticket if you still want an embed widget to edit maps.

Moving to RTBC.

  • scot.hubbard committed c132de5 on 8.x-1.x authored by JannaKha
    Issue #3018665 by JannaKha, pauloamgomes: Create "Google Map Field Embed...
scot.hubbard’s picture

Status: Reviewed & tested by the community » Fixed
scot.hubbard’s picture

Status: Fixed » Closed (fixed)