Conversation
Remove EXCLUDE labels
Remove EXCLUDE label Set mapId as DEMO_MAP_ID for demo purpose
willum070
left a comment
There was a problem hiding this comment.
Files in /dist are generated, so this change would be overwritten. You must make changes in js-samples/samples/. Edit this file: https://github.com/googlemaps/js-samples/blob/main/samples/place-text-search/index.ts
Just a note about EXCLUDE tags, I use custom map IDs for many example maps mostly to reduce POI noise. I know some internally don't prefer it, but I feel that the visual noise from extra POIs can impede understanding. Unfortunately the tag itself is not visually attractive, but that's a trade I'm willing to make for a much better looking map.
|
Thanks for the context. The problem is the mapId is truncated on the dev site - https://developers.google.com/maps/documentation/javascript/place-search#maps_place_text_search-javascript |
Thank you for opening a Pull Request!
Remove EXCLUDE label
Set mapId value to DEMO_MAP_ID
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #<issue_number_goes_here> 🦕