omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello โ€” I'm @olemoritz on Twitter.


    Map API, need suggestions for how to execute ideas

    Pythonista
    4
    196
    69682
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cvp
      cvp @RocketBlaster05 last edited by

      @RocketBlaster05 For your information, if interested by technical aspects, it should be possible to draw a filled area with the union of circles drawn around all points of the group using the ObjectiveC object named MKOverlayPathRenderer, created with CGPath to which a UIbezierPath could be converted, and an UIbezierPath is the objectinstance of ui.Path.
      And this is a only summary ๐Ÿ˜….
      Briefly said, it is very complex for me, but not impossible. Perhaps in a second life.

      1 Reply Last reply Reply Quote 0
      • cvp
        cvp @RocketBlaster05 last edited by

        @RocketBlaster05 said:

        clear the marker

        One more time, obviously due to my English level, I' m notsure that I understand correctly.
        Could you list an ordered sequence of touch actions (number taps, type of press) and their result.
        Thanks and sorry

        RocketBlaster05 1 Reply Last reply Reply Quote 0
        • cvp
          cvp @RocketBlaster05 last edited by cvp

          @RocketBlaster05 after reading deeper, would it not be easier if the tap on the crosshair does show a button "clear trash" that you could only pressed once?
          Tapping this button should also clear the circles and this status should also be stored in the file.
          Correct?

          1 Reply Last reply Reply Quote 0
          • RocketBlaster05
            RocketBlaster05 @cvp last edited by

            @cvp Here is what I mean: (Clear is the same thing as remove)

            1. Circles are set and user can click on them (as you already have programmed)
            2. When the popup happens for the crosshair or a normal trash pin, there should be a button titled "Trash is Cleared"
            3. Specifically for the crosshair, however, it should have in the button a set of parentheses of how many presses are still needed to remove the pin. For an example, originally, the pin will say "Trash is Cleared (3)" but after someone presses it, it will then say "Trash is Cleared (2)"
            4. For the normal trash pins, it will only take one press to remove them. For the crosshairs, it should take 3 as mentioned above. Simply deleting them from the map and locations.txt file is all that needs to happen.

            Hopefully this is understandable. If you need more clarifications just ask. Thanks!

            cvp 1 Reply Last reply Reply Quote 0
            • cvp
              cvp @RocketBlaster05 last edited by

              @RocketBlaster05 Wen are the circles them-selves removed?
              And you say, removed from the file, sure?

              cvp 1 Reply Last reply Reply Quote 0
              • cvp
                cvp @cvp last edited by

                @cvp Can you still add a trash in the group, even when the group has been partially cleaned?

                RocketBlaster05 1 Reply Last reply Reply Quote 0
                • RocketBlaster05
                  RocketBlaster05 @cvp last edited by RocketBlaster05

                  @cvp yes. The idea is that once it reaches zero, any pins in the circle (including those added before it reaches zero) will be removed

                  cvp 1 Reply Last reply Reply Quote 0
                  • cvp
                    cvp @RocketBlaster05 last edited by

                    @RocketBlaster05 ok, for tomorrow when you wake up, and you would see if I did correctly understand ๐Ÿ™„

                    RocketBlaster05 1 Reply Last reply Reply Quote 0
                    • RocketBlaster05
                      RocketBlaster05 @cvp last edited by

                      @cvp ๐Ÿ‘ sounds good

                      cvp 2 Replies Last reply Reply Quote 0
                      • cvp
                        cvp @RocketBlaster05 last edited by

                        @RocketBlaster05 iOS MapKit does not allow a text in the button at right in the detail bubble list.
                        Only an emoji is allowed. I propose ๐Ÿšฎ and under: "(n)" if group.

                        For a trash pin, do you want "(1)" below or nothing

                        1 Reply Last reply Reply Quote 0
                        • cvp
                          cvp @RocketBlaster05 last edited by cvp

                          @RocketBlaster05 do you like this?

                          And

                          RocketBlaster05 1 Reply Last reply Reply Quote 0
                          • RocketBlaster05
                            RocketBlaster05 @cvp last edited by

                            @cvp yes that looks good.

                            cvp 1 Reply Last reply Reply Quote 0
                            • cvp
                              cvp @RocketBlaster05 last edited by

                              @RocketBlaster05 there is not yet any process in my script, only display...still thinking

                              RocketBlaster05 1 Reply Last reply Reply Quote 0
                              • RocketBlaster05
                                RocketBlaster05 @cvp last edited by

                                @cvp is it possible to put the word โ€œneededโ€ next to the (3) display? That would be the easiest for the user to understand. If not then just the (3) will be good.

                                cvp 1 Reply Last reply Reply Quote 0
                                • cvp
                                  cvp @RocketBlaster05 last edited by

                                  @RocketBlaster05 so asked, so received

                                  RocketBlaster05 1 Reply Last reply Reply Quote 0
                                  • RocketBlaster05
                                    RocketBlaster05 @cvp last edited by

                                    @cvp sorry if this an annoyance but I would prefer if the (3) was above needed. Sorry

                                    cvp 1 Reply Last reply Reply Quote 0
                                    • cvp
                                      cvp @RocketBlaster05 last edited by

                                      @RocketBlaster05 so thus

                                      RocketBlaster05 1 Reply Last reply Reply Quote 0
                                      • RocketBlaster05
                                        RocketBlaster05 @cvp last edited by

                                        @cvp yes. Sorry for the inconvenience

                                        cvp 2 Replies Last reply Reply Quote 0
                                        • cvp
                                          cvp @RocketBlaster05 last edited by

                                          @RocketBlaster05 said:

                                          Sorry for the inconvenience

                                          No problem, it took me 5 minutes

                                          1 Reply Last reply Reply Quote 0
                                          • cvp
                                            cvp @RocketBlaster05 last edited by cvp

                                            @RocketBlaster05 new Github available with some refreshing bugs solved and new feature of cleaning trash included. Please test and tell me

                                            When a group is cleaned, it's pins disappear but it's circles will stay until next run.

                                            RocketBlaster05 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Powered by NodeBB Forums | Contributors