-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add tooltip and popup markers #5
Conversation
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.
Is this separate ballon?
Yes, I made it a separate entity that can be added to the map or made part of some kind of marker. Tooltip, Balloon, Popup are all components from the same category, but have different purposes:
Regarding naming, suggestions are accepted) |
ab6fef6
to
8aeb780
Compare
8aeb780
to
c96c272
Compare
* Added getting information about icons from Figma * Added getting links to icons * restructuring inside the tools folder * Fetching components only with export settings * load icon in local folder * uploading icons from Figma to a local folder * export only svg files * refactor * optimize svg and filter fallback icons * generate types for icons * generate icons list in md file * filter fill-opacity icons * default marker * add nanospinner in cli tool * path as common constants, nanospinner error in catch * show pin with icon * fetch colors from Figma * color props * optional props * custom color * add fallback icon * size props in marker * Downscale if no small icon * upgrade markers * download icons * fix * took chunk function from lodash * rename generated files * add tooltip marker * tooltip combined positions, tooltip offset * support dark theme * separated tooltip and balloon * add default popup * remove close callback from popup content * remove mock MMapPopupMarker * add overrides * popups examples * add unit-tests * add prefix in css * add open animations * remove __impl * add popup in default marker * fix popup in marker * Rename ballon to popup * Rename tooltip to text-popup * fix issues * remove text popup and default popup * fix
Add new components:
MMapPopupMarker
is a popup with custom content. It may have a different position relative to the object that the tail points to.Updates:
MMapDefaultMarker
may contain a popup. You can specify the parameters of the popup window using thepopup
prop.