Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
Questions about Android development and PDF
  • Page:
  • 1

TOPIC:

Multiple Notes at same location 9 years 7 months ago #7081

  • bashirisonline
  • bashirisonline's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 0
Hi,
When I try to add notes to a page, the note is added successfully, but the problem is that when I try to add another note at the same place then it overlaps the older note, and hence the older note cannot be tapped/viewed.
is there any resolution for this problem.
Please update ASAP.
Thanks.

Please Log in or Create an account to join the conversation.

Last edit: by e6412@drdrb.com.

Multiple Notes at same location 9 years 7 months ago #7082

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
This is the default behavior of the demo app..

You can change this behavior yourself based on your requirements, you can use GetAnnotFromPoint(float, float) to help you in your implementation

Please Log in or Create an account to join the conversation.

Multiple Notes at same location 9 years 7 months ago #7087

  • bashirisonline
  • bashirisonline's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 35
  • Thank you received: 0
This is not the default behavior of demo app only, library also behaves the same way. How can I change the implementation so that no new note can overlap an already existing note.

Please Log in or Create an account to join the conversation.

Multiple Notes at same location 9 years 7 months ago #7088

  • nermeen
  • nermeen's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Posts: 962
  • Thank you received: 87
You can check if there is a nother annotation around this location using GetAnnotFromPoint(float, float) before adding a new one

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum