Commit Graph

52 Commits

Author SHA1 Message Date
Takachi67
8ffab2d63a Add paths_changed events
Add the paths_changed event to emits in polygon.js
2023-03-12 21:32:59 +01:00
Andrew Slack
de252682bb Reverting old change 2023-03-08 19:11:52 +01:00
Andrew Slack
374ffb30c5 - Adding min-zoom to the map object (we already have max-zoom)
- Adding the details to the readme file
2023-03-08 17:29:31 +01:00
NathanAP
d048a599bf Updated version to 0.2.3 2023-02-24 09:17:33 -03:00
Nathan A. Paludo
4d666b34ad Merge pull request #54 from oliverkirsch/circle-rectangle-emits
Add "emits" to circle and rectangle and register listener to actively…
2023-02-24 09:04:58 -03:00
Oliver Kirsch
43a5f2bf8f Add "emits" to circle and rectangle and register listener to actively propagate events
As for vue3, a component can (should?) have an "emits" option containing all its emits.
For some components this was implemented, but for rectangle and circle it was missing.

Further re-used the addListener code from other components to register listeners to
the google maps api events and propagate them to the partent component of a circle/rectangle.
2023-02-20 17:07:05 +01:00
Oliver Kirsch
0ea377c29a Attempt to fix closeclick issue in InfoWindow
- propagate google maps InfoWindow's closeclick event to the parent component
  however, re-open the InfoWindow to ensure, its state is set solely by
  the opened prop of the InfoWindow component
- do not emit closeclick in the _openInfoWindow() method triggered by
  the watcher on the opened prop. closeclick should only be triggered,
  when the user atually clicked close
2023-02-15 08:36:36 +01:00
NathanAP
e15391ab66 Fixed small bug in Polyline. 2023-01-13 09:03:51 -03:00
Marco Curatitoli
91abf87f45 added emits 2023-01-10 12:22:33 +01:00
Marco Curatitoli
cdb286a906 added emits 2023-01-10 12:21:28 +01:00
John Wesely
d16068516a add support for maxZoom 2023-01-03 12:58:17 -07:00
NathanAP
462679a77e Added a center instead of required on Map component. 2022-12-20 09:29:42 -03:00
Viktor Denisov
6fa827823c Add missing deps, fix errors from eslint 2022-12-16 11:14:19 -08:00
danix89
f4c53d2012 Fix binding with the new MarkerClusterer from @googlemaps/markerclusterer 2022-11-17 20:18:55 +01:00
danix89
ae2985f9b1 Fix binding with the new MarkerClusterer from @googlemaps/markerclusterer 2022-11-17 18:59:00 +01:00
Viktor Denisov
0e29c32fcb Use render instead of repaint 2022-10-16 00:50:05 -07:00
Viktor Denisov
a396938c52 Ability to customize input in autocomplete 2022-10-16 00:44:34 -07:00
Fawad Mirzad
12da2342de Fix style attribute is ignored 2022-04-16 13:50:08 +02:00
Fawad Mirzad
88d826f5f8 Merge branch 'feature/maps-cluster-dependency-change'
# Conflicts:
#	package-lock.json
2022-04-16 13:25:59 +02:00
Fawad Mirzad
3acb8503b6 Pass props 2022-04-16 13:04:04 +02:00
grunghi
1fc8cf3c5e Use ESM export instead of CJS in utils/lazyValue.js to prevent build error in nuxt3 2022-04-15 10:58:33 +02:00
Fawad Mirzad
303281d85a Replace the marker cluster plus 2021-10-10 13:30:42 +02:00
Hans VN
2ee94626f2 allow map to define custom map events
Add handlers and listeners for events explicitly passed as a prop.
This addresses fawmi/vue-google-maps#47
2021-09-21 00:30:20 +02:00
feny85
bdc9e4d2cb Added heatmap 2021-06-18 01:34:46 +08:00
Khalil Laleh
eaaeaf238b Add the Marker's event parameters to the event wrappers 2021-05-25 10:23:17 +04:30
Fawad Mirzad
4e80d8898a Revert autocomplete component is removed 2021-05-06 09:36:15 +02:00
Fawad Mirzad
51fb0e251e Fix bugs 2021-05-06 09:11:24 +02:00
Fawad Mirzad
1109123145 Fix console errors in some cases 2021-04-29 02:52:31 +02:00
Fawad Mirzad
2c027402a4 Fix console errors in some cases 2021-04-29 02:46:52 +02:00
Fawad Mirzad
9f3894aeb1 Remove dead code 2021-03-18 22:44:31 +01:00
Fawad Mirzad
be51f9dc59 Fix info window cannot be opened 2021-02-18 06:07:26 +01:00
Fawad Mirzad
902e2860f4 Remove dead code 2021-02-15 06:22:53 +01:00
Fawad Mirzad
9b948943c0 Export default function 2021-02-14 16:18:36 +01:00
Fawad Mirzad
16ad627d9b Improve code 2021-02-14 11:12:14 +01:00
Fawad Mirzad
1a50b71c34 Improve code 2021-02-14 10:42:25 +01:00
Fawad Mirzad
bf97099979 Fix bugs 2021-02-14 09:49:47 +01:00
Fawad Mirzad
7ad864043d Rename function to improve readability 2021-02-14 07:50:54 +01:00
Fawad Mirzad
1a83085a80 Improve code 2021-02-13 19:33:37 +01:00
Fawad Mirzad
23000eabc8 Use the isServer utility function instead of multiple duplicate codes 2021-02-13 19:30:30 +01:00
Fawad Mirzad
c2beadf477 Update lazyvalue 2021-02-13 19:25:20 +01:00
Fawad Mirzad
c9a228aedd Clean up comments 2021-02-13 19:19:52 +01:00
Fawad Mirzad
24bd8be21a Remove old references 2021-02-13 19:18:03 +01:00
Fawad Mirzad
20dede71f6 Remove unnecessary comments 2021-02-13 19:17:04 +01:00
Fawad Mirzad
01eee58476 Improve code 2021-02-13 19:16:09 +01:00
Fawad Mirzad
402a03b842 Improve file naming 2021-02-13 19:15:55 +01:00
Fawad Mirzad
455a95912c Remove outdated informations 2021-02-13 19:12:12 +01:00
Fawad Mirzad
6cb357d41e Improve code quality 2021-02-13 19:09:37 +01:00
Fawad Mirzad
62595c2421 Extract sting utility to an external function 2021-02-13 18:58:41 +01:00
Fawad Mirzad
27095b88a3 Clean up code 2021-02-13 18:00:17 +01:00
Fawad Mirzad
70e7d79bfb Add default styling to avoid frustration of invisible map 2021-02-13 17:44:32 +01:00