[wp-trac] [WordPress Trac] #39154: Twenty Seventeen alters Google Maps branding which is against Google T&C's
WordPress Trac
noreply at wordpress.org
Wed Dec 7 19:31:05 UTC 2016
#39154: Twenty Seventeen alters Google Maps branding which is against Google T&C's
----------------------------+------------------------------
Reporter: stiofansisland | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses: ui
----------------------------+------------------------------
Comment (by stiofansisland):
Replying to [comment:4 sami.keijonen]:
> When I embed a map from Google maps I just get regular iframe like this:
`<iframe style="border: 0;"
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1982.3216807098454!2d24.852959215109287!3d60.20850794726272!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x468df608972b10e3%3A0x55584389f8e712d2!2sMesenaatintie%2C+00350+Helsinki!5e0!3m2!1sen!2sfi!4v1481134643416"
width="600" height="450" frameborder="0"
allowfullscreen="allowfullscreen"></iframe>`
>
> You're probably using Google maps API which probably includes `gm-style`
class?
Yes any embedded map using the API.
Grab the code from here (its a pain but you need a api key now)
https://developers.google.com/maps/documentation/javascript/examples/map-
simple
Change the #map css to height:300px and width: 100% or the standard code
will not show.
Or i can give you an example link if you would like?
Stiofan
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39154#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list