Mashup map displays every POI from a single map

Home Forums MapPress Support Mashup map displays every POI from a single map

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #12086
    slace23
    Participant

      Hi, is there anyway not to display every marker (POI, KML track) which is placed on a single map within the mashup map? For example having a post and a map with 1 track (KML) and 8 POIs. That multiplicated with 100 posts would be messy map, especially if there posts are based next to each other.

      Would just need to display the main marker which could be named in a special way or something. I call my mashup likes this:

      [mashup query=”all” width=”800″ height=”600″]

      Thanks!

      #12100
      Chris
      Keymaster

        Hi,

        Sorry but no, that’s not supported by the plugin . If you would like to code it in PHP, you can use an action like ‘mappress_map_display’ to adjust the mashup before it’s displayed:

        http://mappresspro.com/mappress-documentation#toc-filters-and-actions

        What you described also sounded like ‘marker clustering’, which is a popular feature request I’m already working on.

        #13281

        Hi Chris,
        i have exactly the same problem.
        Please update me too when this feature become available.
        Can I ask you to provide an example of the action based on ‘mappress_map_display’?
        Thanks!

        Matteo

        #13282
        slace23
        Participant

          In the meantime we spend many hours on this and have own coding on this topic which solves the task for us… I could provide it.

          #13714
          westfallworks
          Participant

            Did we ever find a solution to this? slace23 did you code your own version that works?

            I want to have a mashup map that shows a POI for each page with a map on it.

            #13717
            slace23
            Participant

              I have my own code which works fine. We added a checkbox to the POI desription called “show on mashup map”.

              #13727
              westfallworks
              Participant

                Are you sharing that code? Or are you selling it? I’d LOVE to be able to do this too!

                #13735
                slace23
                Participant

                  I could share it – dont know if paying is legal concering the licence.

                  Chris, are you planning to put it in?

                  #13736
                  Chris
                  Keymaster

                    Hi,

                    The license prohibits reselling the code but if you’d like to share add-on code with each other feel free – please email each other directly rather than posting here.

                    I have a lot on my development list already so I don’t yet have plans to limit searching to only the first POI from a map (other than the filter I mentioned).

                    I don’t know if it will work for you, but one workaround is to just use two different posts:

                    Post A – the main post. Create a map with a single main searchable location here.
                    Post B – a second post. Create the full map with all locations here.

                    In Post A, add a shortcode to display the map from Post B using [mappress mapid=123]. When users view Post A, they will then see the full map. But for searches, only the single location that is actually attached to Post A will appear.

                    Post B can be excluded from queries by assigning it to a custom post type, different category, etc.

                    #13737
                    westfallworks
                    Participant

                      slace23, please email me at ken@westwarddigital.com and we can share, if you’re willing. Thank you!

                    Viewing 10 posts - 1 through 10 (of 10 total)
                    • You must be logged in to reply to this topic.