Added function to draw custom markers with Kotlin DSL Canvas API #1
Labels
No Label
bug
documentation
duplicate
enhancement
fixed in dev
good first issue
help wanted
invalid
question
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: kscience/maps-kt#1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FetureId can be extended to hold info about a feature??? I added unused onFeatureClick, which can be latter implemented with pointer input, where it will check coordinates with offset? Features need to hold info about their coordinates?
Feature could contain any additional data, including the callback, but in my opinion it should be handled outside of the map itself. Map handles some callbacks like
onClick
(implemented),onPan
(TODO) andonSelect
(also TODO).Custom MapFeature (not just access) with access to Canvas - nice idea, never thought about it.
As I think - MapFeature should holds graphical information only. Without any additional data. User should receive FeatureId and find additional data by himself.
I don't think MapFeature.onClick is good idea, we should leave MapView callback only. That onClick is not about graphic.
btw, we should have simple access to canvas too. Without MapFeature wrapping
@ArystanK Ping me when it is ready to be merged.
@ArystanK What is you custom marker? What is your use case for this feature?