Chris

Forum Replies Created

Viewing 15 posts - 1,096 through 1,110 (of 1,120 total)
  • Author
    Posts
  • in reply to: maps in tabs- nesting shortcode #9425
    Chris
    Keymaster

      Hi, I’m not sure I understand what you’re trying to do. Are you trying to get maps to work inside tabs when using the WordPress post/page editor?

      Or are you trying to output tabs with maps in your template files using the do_shortcode() function?

      Could you explain further? Do you have an example of your actual code?

      in reply to: MapPress SEO #9424
      Chris
      Keymaster

        Well… if your POIs are stored as separate posts then the posts will get crawled like any other post.

        If your POIs are all located on a single map, then they’ll be output as javascript which, I think, is usually ignored.

        If you’re doing an index site – say a local directory of restaurants – then I strongly recommend you an individual post for each POI. For example, create a post for each restaurant (preferably using a custom post type ‘restaurant’). In each post, insert a map in each post with just that post’s location. Then use a mashup to display the posts together on a single map.

        By using separate posts you can take advantage of all of the WordPress post features: categories, tags, a rich text editor – and SEO.

        Chris
        Keymaster

          Hi,

          You can’t just edit the png file to change the default icon. However, I do have a beta version of the plugin that supports changing it.

          If you’d like to give it a try, please send me an email via the contact form and I’ll send you a copy.

          in reply to: Hide map type and overview in dynamic PHP map #9405
          Chris
          Keymaster

            Hi,

            Here’s a shortcode to disable pretty much everything. You can find a list of the various options in the documentation – I was assuming the arrow you meaen is for the overview map control:

            [mappress maptypecontrol="false" streetviewcontrol="false" traffic="false" overviewmapcontrol="false"]

            in reply to: mashup not showing #9328
            Chris
            Keymaster

              Hi, I think you emailed me about this as well. I’ll reply to your email. I think this is a problem specific to that site rather than a bug in the plugin, but if not, I’ll post back here with an answer.

              in reply to: custom post on a mashup #9318
              Chris
              Keymaster

                I’m not sure I understand the second question – you can only have one link per marker, although you can have two markers for the same location.

                For the first question: you could try adding posts_per_page=-1 to retrieve all of the posts that match. Also, you can test some queries by just entering them in the blog’s URL, for example:

                http://myblog.com?post_type=initiative

                Have you checked the documentation on this as well? There are some examples:
                http://mappresspro.com/mappress-documentation

                in reply to: replace Get Directions button with image #9308
                Chris
                Keymaster

                  Hi, no, sorry – if you can’t do it with CSS you’ll need to modify the code. There might be some workarounds, for example you could remove the value using javascript or jQuery, or perhaps create a translation file that maps it to ” – but it’s probably easier to modify the code and just delete the value.

                  The next release includes templates you can modify and save so hopefully you’ll have at most one more update to change. I don’t have an ETA for it yet.

                  in reply to: Custom post type fields not showing #9285
                  Chris
                  Keymaster

                    Hi,

                    The checkboxes for post types (at the top of the settings screen) just determine if the map editor appears in those post types, it doesn’t have anything to do with the custom field dropdowns.

                    One thing that sometimes prevents custom fields from appearing is that WP doesn’t consider the field to ‘exist’ unless at least one post has been created with that field. Do you have at least one post that actually contains the fields you’re trying to select? If not, you could create a dummy post with them to see if this is the problem.

                    Also, only standard WP custom fields are listed. Are you using a forms plugin or similar to create them, or are they standard custom fields?

                    in reply to: List of markers in one line #9278
                    Chris
                    Keymaster

                      Hi Lars,

                      You can change the plugin code to output the list however you like: file ‘mappress_api.php’, line 500 approximately – there’s a comment above that says ‘list of locations’.

                      I’m working on adding ‘templates’ to the next version to make this easier, but for now you must change the code…

                      in reply to: Icons #9271
                      Chris
                      Keymaster

                        Hi, I’m not aware of many additional standard Google icons that aren’t included with the plugin (if anyone else knows, please let me know). There ae some excellent 3rd-party sets though. You can find them by doing a search, but a lot of people use these:
                        http://mapicons.nicolasmollet.com

                        in reply to: Full Screen Map Button #9268
                        Chris
                        Keymaster

                          Hi, there’s nothing like that build in for the current version but it’s a popular request for a ‘larger map’ link, so it’s on my development list.

                          If you want to do it yourself: one way is to just link to a separate page with a full-size map.   Or, with a little javascript, you can resize the map’s containing <div>.

                          For example, if the map’s name is ‘mapp0’ the div has the same name so you could just set the width and height for div mapp0.   After you resize the div, call mapp0.resize() to notify the map that the container size has changed.  The FAQ has details about setting a map name.

                          The javascript would be something like this:

                          var mydiv = getElementById('mapp0');
                          mydiv.style.width = "100%"; 
                          mydiv.style.height = "100%";
                          mapp0.resize();

                           

                          in reply to: Maps with 100s of POIs #9267
                          Chris
                          Keymaster

                            Hi, it’s definitely better to create 1 post per POI. It is a little faster to load the data as POIs on one map but you’ll give up the ability to search or categorize the POIs. Map pois have only a title and body, so there are no categories, image attachments, editor, etc.

                            I suggest you always load your data as individual posts, then use the mashup shortcode to show them on a single map.

                            Even sites that are custom-built for map searches (e.g. Zillow or Redfin, for example) generally only show a few hundred locations at a time. In comparison, WordPress is very slow for both AJAX and queries.

                            It will help if you can narrow down the number of results, for example by assigning categories to the posts and having the user pick a region before displaying the map. Or, you can have the map display the current blog results and let WP page them.

                            in reply to: Map List #9266
                            Chris
                            Keymaster

                              Hi Keith,

                              No not yet, it’s coming in the next version (no ETA yet). But in the current version you can only see maps created in the post you’re viewing.

                              in reply to: Support for Elegant Themes #9218
                              Chris
                              Keymaster

                                Hi Simon,

                                I’m not sure about that cause of the problem, but I can give you some info. When the mappress shortcode is processed the plugin writes out some fields (like the directions start/end) and its javascript and css. In that page I see the fields are there but not the css and javascript. To narrow down the problem, you might try just putting the map on a plain page instead of in the ‘popup’ window and see if it displays properly.

                                in reply to: Disable infoWindow (bubble) for widget #9204
                                Chris
                                Keymaster

                                  Hi, I see what you mean – it’s a limitation of the standard infowindows that they can’t stick out past the map edges. Unfortunately there’s no options to disable it in the plugin. I’ll look into adding it for the next version.

                                Viewing 15 posts - 1,096 through 1,110 (of 1,120 total)