Skip to content
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

Enhance support for Markers #69

Closed
steveszc opened this issue Jul 26, 2016 · 1 comment
Closed

Enhance support for Markers #69

steveszc opened this issue Jul 26, 2016 · 1 comment

Comments

@steveszc
Copy link
Collaborator

steveszc commented Jul 26, 2016

There are quite a few Marker properties, events, and methods that are present in the Google Maps API but absent from the g-maps-marker component. Its probably not feasible to fully re-implement the Google Maps API for Markers, but the following list seems like a good place to start, and many of these API features such as drag events and opacity are implemented on other components in this addon, such as the g-maps-polyline component.

  • Complex Icon: Currently a url may be provided as a marker's icon property to set a custom marker image, but there is no support for an icon object containing a url, anchor, labelOrigin, origin, scaledSize, or size. Some of these properties may be necessary when using a custom marker image. For instance, a custom marker may need to be anchored to the map in the center of the icon, rather than the default bottom-center. (edit: this is supported but undocumented)
  • animation
  • anchorPoint
  • Opacity
  • draggable/dragStart/drag/dragEnd
@steveszc
Copy link
Collaborator Author

I'll be working on the Complex Icon support in the next couple weeks, PR will be forthcoming.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant