-
-
Notifications
You must be signed in to change notification settings - Fork 364
[Map] Add Rectangle support #2845
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.x
Are you sure you want to change the base?
Conversation
📊 Packages dist files size differenceThanks for the PR! Here is the difference in size of the packages dist files between the base branch and the PR.
|
f445a7f
to
e0b3f91
Compare
e0b3f91
to
e76d201
Compare
```php | ||
$map->addRectangle(new Rectangle( | ||
southWest: new Point(48.856613, 2.352222), // Paris | ||
northEast: new Point(48.856613, 2.362222) // A point 1km east of Paris |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
northEast: new Point(48.856613, 2.362222) // A point 1km east of Paris | |
northEast: new Point(48.51238 2.21080) // Gare de Lyon (Paris) |
:D
protected doRemoveRectangle(rectangle: google.maps.Rectangle): void { | ||
throw new Error('Method not implemented.'); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To implement
Adding a new
Rectangle
element to Map following GoogleMaps and Leaflet features.