ProfessionalWiki / ProfessionalWiki/Maps
Google Maps do not auto-center on shapes
Open
Nobody has claimed this yet.
enhancement
good first issue
GoogleMaps
- Dominant language
- JavaScript
- Stars
- 78
- Forks
- 65
- Avg merge
- 9h 17m
- Merged PRs (30d)
- 6
Description
Seen with version 5.5.1 for both rectangles, circles and lines. Works fine with Leaflet.
{{#display_map:rectangles=
Berlin:Brussels;
Amsterdam:London~I am a title~And I am a description~green~0.7~10~blue~0.5
| scrollwheelzoom=off
| service=google
}}
{{#display_map:circles=
Berlin:100;
Amsterdam:50~I am a title~And I am a description~green~0.7~10~blue~0.5
| scrollwheelzoom=off
| service=google
}}
{{#display_map:lines=
Berlin:Brussels:London;
Amsterdam:Paris~Amsterdam to Paris line~I am a text~green~0.42~10
| scrollwheelzoom=off
| service=google
}}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the three supplied rectangles, circles, and lines examples using the Google service, then compare their centering behavior with Leaflet. Trace the Google Maps shape-rendering and viewport-fitting entry point; done when each shape type automatically centers the map as expected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100