简体   繁体   中英

Google Maps, change the postal code on display

I was wondering if I could edit the postal code of my google maps, as google maps has got the postal code wrong. I inspected the element and would like to change this line

<span jsattrs="dir:bidiDir($addrline, true);" jscontent="$addrline" jstcache="82" dir="ltr">Burlington, ON L7R 2G6</span>

is this possible?

The best way would be to notify Google of the error. They're pretty good about invetigating and following up these reports.

I noticed a problem when planning a trip a year or so ago. Google maps directions was taking a rather long detour around a perfectly good section of highway. There's a link somewhere on the maps page to notify them of problems. I used this and they corrected the issue about a month later. Not immediately helpful for planning the trip, but it did get the error corrected, and for everyone else, too.

Having said all that, it should definitiely be possible in Javascript to modify the DOM elements that Maps loads into your page. It may lead to some unexpected behaviour, though.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM