Chris

Forum Replies Created

Viewing 10 posts - 1,111 through 1,120 (of 1,120 total)
  • Author
    Posts
  • in reply to: Percent Sized Mashup #9203
    Chris
    Keymaster

      Hi,

      Most windows don’t actually have a height, so I’m not sure you can do what you want. Can you assign height = 100% to any other

      ? It shouldn’t be anything special for the map. If not you need to set a height (in pixels) for the document body.
      in reply to: Zoom In/Out #9198
      Chris
      Keymaster

        Hi,

        The problem with the zoom control is actually a conflict with the theme. When I remove the theme’s ‘style.css’ it works fine. I don’t know exactly which element has the conflict but take a look at anything that applies to tags – I usually just delete them one at a time until I find the conflict.

        I don’t have an ETA – every time I give one I completely miss it. Hopefully it’ll be ready “soon” but I’ve still got quite a bit left to code.

        in reply to: Terain view as default #9170
        Chris
        Keymaster

          Hi, there’s a parameter “maptypeid”, try “terrain”: [mappress maptypeid="terrain"]

          in reply to: filtering POI #9147
          Chris
          Keymaster

            Hi,

            Using the mashup tag is probably the best solution. You can put the tag into pages (if you have separate pages by region) or into the template (and change the category dynamically).

            The documentation has some examples of queries and links to the WP documentation on the same topic.

            Chris
            Keymaster

              Hi Elbert,

              Sorry, but the plugin doesn’t support that. It only supports showing marker data inside the marker infowindow, not in other places on the page.

              in reply to: Intermittent Problems with Dynamically Generated Maps #9131
              Chris
              Keymaster

                Hi John,

                What a nightmare! I’m glad you got it working, though. It’s unfortunate that Google is so restrictive, but I suppose they want to encourage people to sign up with premier (by the way, if you ever do sign up, the plugin should be able to support it).

                in reply to: Intermittent Problems with Dynamically Generated Maps #9103
                Chris
                Keymaster

                  Hi John,

                  I’m going to guess you’re on a shared server. If so, your blog or someone else’s may be exceeding Google’s rather low geocoding limits. You can see more about this problem in the FAQ.

                  You can sign up for Google Premiere or move to a non-shared host, but the easiest thing to do is probably to just geocode those points you want to map before mapping them.

                  I’m guessing you’re mapping them by address using PHP code? If so, you can either

                  1. Save the points to a map in the map editor (which will geocode them) and then map them using a mashup
                  2) Or determine the lat/lng for each point and use the lat/lng in the map instead of the address. You can use one of the many free geocoding services for this.

                  in reply to: MapPress version upgrade #9101
                  Chris
                  Keymaster

                    Hi,

                    You can follow the instructions for installation:
                    http://mappresspro.com/install

                    You won’t lose your data (maps), but if you’ve customized the .css files or loaded custom icons into the /icons folder, just be sure to copy them somewhere before you upgrade so they don’t get overwritten.

                    in reply to: Multiple Fields for Address Custom Field #9095
                    Chris
                    Keymaster

                      Hi, that feature is coming in the next release. I was hoping to have that available today but I’m still working on it, so I can only say it will be available “soon”. If you can code PHP, you can use the ‘save_post’ action to just concatenate the source fields into the ‘address’ field. You can take a look at the file ‘mappress_pro.php’ for some examples.

                      in reply to: Reply To: Open Map in popup lightbox style #8738
                      Chris
                      Keymaster

                        Hi,

                        This isn’t something the plugin does currently, so I’m going to move your post to the ‘feature requests’ section.

                        It seems to me it’d be more useful to have a ‘bigger map’ link that makes the map bigger in the page, rather than opening it in a popup. Would that work for you?

                        I created a sample javascript to do this but I can’t say if it’ll work for you. I’ll try to include this as a plugin feature in the next release so it’ll be easy to do.

                        Until then, you can give this a shot. You can put the javascript function in your theme or directly in the post (using the HTML editor).  The link can go before or after your shortcode to display the map.

                        [mappress poilist="true"]
                        
                        <a onclick="bigMap(); return false;" href="#" rel="nofollow">Bigger Map</a>
                        <script type="text/javascript">
                        //<![CDATA[
                        function bigMap() {  
                          var m=document.getElementById('mapp0');  // Map's canvas div element  
                          var p=m.parentNode;   // Map's parent container div  
                          p.style.width = m.style.width = '100%';  
                          p.style.height = m.style.height = '800px';  
                          mapp0.resize();  // Tell the Google map to resize itself to fit }
                        //]]>
                        </script>

                        ‘mapp0’ is the name you assigned the map using the shortcode parameter [mappress mapname='mymap'].  If you haven’t set a name the plugin will use ‘mapp0’ for the first map on the page, ‘mapp1’ for the second, and so on.

                        I hope that helps!

                      Viewing 10 posts - 1,111 through 1,120 (of 1,120 total)