Chris

Forum Replies Created

Viewing 15 posts - 481 through 495 (of 1,120 total)
  • Author
    Posts
  • in reply to: Auto zooming #14612
    Chris
    Keymaster

      Hi,

      I really can’t say, since it depends on your custom code. Are you sure it’s necessary to use custom code for this? It seems like you could just display a mashup with the additional 3 locations included from a map attached to a post.

      I can tell you that in general the map won’t autozoom/center if you provide a center or zoom parameter.

      in reply to: Mashup not linking to posts/pages #14611
      Chris
      Keymaster

        Hi,

        I’ll need to see your blog to help you. Could you please provide a URL demonstrating the problem or better yet, a login to the blog?

        If the blog isn’t public yet, another option would be to sign up for a demo site here and try to replicate the issue:

        http://mappresspro.com/demo

        in reply to: Mappress_Map responsive width #14610
        Chris
        Keymaster

          Hi,

          I think I see the problem – the plugin sets width on the outermost div but the height is set on the inner canvas div. This works if the height is in pixels but not if it’s in %.

          To make % height work you’ll need to either modify the template file ‘map_layout.php’ or use CSS. For CSS, if you give your container div the id ‘xyz’ something like this might work:

          #xyz .mapp-layout { height: 100% }

          Or maybe you could just include the height and width in the shortcode directly:

          [mappress id="1" width="100%" width="480" height="480"]

          in reply to: infowindow in external kml #14586
          Chris
          Keymaster

            Hi,

            Possibly – I don’t know enough about KML files to say. MapPress uses the infoWindowHtml property of the KmlFeatureData object.

            From what I’ve read, that should include the extendeddata, but you need to use ‘entity replacement’ to make it available to the infoWindowHtml property:

            https://developers.google.com/maps/tutorials/kml/#extendeddata_elements

            in reply to: infowindow in external kml #14578
            Chris
            Keymaster

              Hi,

              I took another look at this today and I’m not sure I fully understood (or answered) your question. I just went through the relevant MapPress code to recall the details so I’ll try again.

              The plugin does suppress the default infoWindows as I said in my earlier message. But when a feature is clicked, MapPress should show the infoWindow content from the original KML file – it just wraps it in MapPress CSS. The idea was to provide a consistent CSS style without interfering with the KML.

              If the clicked feature has no infoWindow in the KML file, then it should show the MapPress title and body. This is also true if a KML is clicked from the POI list, or in the editor.

              I wasn’t clear from your post if current version of the plugin isn’t working this way, or if that’s undesirable – or if there’s something specific to your KML file. Could you elaborate about what you’re expecting to see and provide an example URL or KML?

              Chris
              Keymaster

                Hi,

                Sorry, the documentation is not up to date. I’ll update it right away.

                The current versions of the plugin is more flexible, but it doesn’t default the ‘to’ address. The following parameters are used:
                initialopendirections – true of false

                from – address or POI number (starting at 0) to use as the default whenever the directions form is opened

                to – address or POI number to use as a default

                For example, this will open the directions from with directions from San Francisco to the first POI:

                [mappress initialopendirections="true" from="San Francisco" to="0"]

                in reply to: Mashup ALL Posts #14572
                Chris
                Keymaster

                  Hi, this should do it:

                  [mashup query="all"]

                  That essentially just runs the query for all post types with no limit, i.e.:

                  [mashup query="post_type=any&posts_per_page=-1"]

                  in reply to: infowindow in external kml #14542
                  Chris
                  Keymaster

                    Hi,

                    If the infoWindow was defined in the KML itself, then this is because the plugin suppresses the KML infowindows. Instead it shows its own info (such as the POI title & body defined in the map editor, or the post title & body for mashups).

                    I’m not sure if it’ll work in your case, but one options is to just add the content in the MapPress editor or post body.

                    in reply to: Integrating with WP Symposium #14535
                    Chris
                    Keymaster

                      Hi,

                      Sorry, I’m not familiar with WPS. Perhaps you can ask them if you can integrate shortcodes or PHP code in the activity stream; if so you can probably display maps.

                      in reply to: too much recursion #14531
                      Chris
                      Keymaster

                        Hi,

                        There’s no POI limit in the plugin, but your blog can run out of memory. It doesn’t seem likely that’s the problem – 67 isn’t many posts and if you ran out of memory you would probably just see a spinner instead of the map, not an error. Memory issues are covered here:
                        http://mappresspro.com/mapress-faq

                        Try deactivating all of your other plugins and switching to a standard theme for a moment, to see if it’s something else.

                        in reply to: Errors reported in Pro version #14524
                        Chris
                        Keymaster

                          Those warnings are related to the border style in the MapPress settings screen.

                          Here’s a few ways to fix the problem:
                          – download version 2.42.1 – I’ve fixed the warning messages in that version
                          – save the MapPress settings again – this should make the messages go away.
                          – turn off warnings in wp-config.php by setting wp_debug to false

                          Please let me know how it works out.

                          in reply to: Updating Pro Versions #14519
                          Chris
                          Keymaster

                            Correct, step-by-step instructions are here:
                            http://mappresspro.com/install

                            in reply to: White lines in maps #14516
                            Chris
                            Keymaster

                              Ok, I checked it! It seems to be a bug in Chrome version 34 and higher:
                              http://code.google.com/p/gmaps-api-issues/issues/detail?id=6594

                              I don’t think it’s related to MapPress.

                              in reply to: Conflict using maps in Tabs (Tabby on Genesis Theme) #14479
                              Chris
                              Keymaster

                                Hi, this is the tabs issue described in the FAQ. Please take a look here for some solutions:
                                http://mappresspro.com/mappress-faq

                                in reply to: Direction link open gmap-app #14470
                                Chris
                                Keymaster

                                  I think mobile devices look for a Google URL to open the App. Try setting the directions to ‘google’ instead of ‘inline’ in the MapPress settings.

                                Viewing 15 posts - 481 through 495 (of 1,120 total)