Chris

Forum Replies Created

Viewing 15 posts - 946 through 960 (of 1,120 total)
  • Author
    Posts
  • in reply to: KML with Shortcode #10724
    Chris
    Keymaster

      Hi,

      You can just type a KML address (or addresses) into the map editor when you’re creating a map, which is pretty easy.

      I think the question was about whether you could also add KML to the map by adding it into the map shortcode.  That isn’t supported, but as an alternative you can create a map using PHP in the blog template.  See the do_shortcode() examples in the docs.

       

      in reply to: Shortcode to remove/hide location table #10710
      Chris
      Keymaster

        Hi,

        Sure, you should be able to use this:

        poilist=”false”

         

        in reply to: KML with Shortcode #10689
        Chris
        Keymaster

          You can’t do it with the shortcode, but you can use PHP.  See the documentation for some examples; in the Mappress_Poi object you can set the property kml:

          $poi->kml = “http://www.mykml.com”

          in reply to: KML with Shortcode #10686
          Chris
          Keymaster

            Hi,

            You can’t add KML in the shortcode, but you can add KML files to the map.  You’ll need one of the beta versions for KML support:

            http://mappresspro.com/betas

            Then create a map and type the KML http: address where you would normally type the street address for a new POI.  That will add the KML overlay to the map.

            You can also combine multiple KMLs on the map, along with shapes and regular POIs.

             

            in reply to: POI popup window is not big enough for content #10677
            Chris
            Keymaster

              Hi,

              I realized I hadn’t published 2.38.7 yet, I’ll publish it today.  I also did some more testing on your site.

              Images are loaded asynchronously so Google needs to ‘guess’ how big they’ll be using the CSS settings in the page.  I think the site’s theme is applying this CSS to all the images:

              div.bkp-frame img, div.bkp-frame-wrapper img, div.page-bkp-frame-wrapper.gallery img{ max-width: 100%; height: auto; }

              The images all have the html attributes for height/width, but Chrome & Firefox seem to ignore them.  Instead they use the CSS settings, and then it can’t determine the size of the images until they’re downloaded.

              The result is that the first time you open the infoWindow, you see the image sized wrong.  The second time, the image is cached and the browser can figure out how big it is.

              Here’s some suggestions:

              1) Specify a CSS style or class with width and height for every image.  That should take precedence over the theme (but it may be a pain with many images).  For example:

              <img src='http://whatever' style='width:100px;height:100px' />

              2) Or, apply CSS width/height to ALL images in infowindows by adding this to your theme’s style.css (assuming they’ll all be the same size):

              div.mapp-iw img {   width: 100px; height: 100px; }

              3) Finally, you can download 2.38.7 when it’s available and try the ‘infoboxes’ setting.  Those are custom infoWindows that can extend outside the edges of the map and they may work better for sizing this content.

              in reply to: POI popup window is not big enough for content #10675
              Chris
              Keymaster

                Hi Nick,

                It can be tricky to get google to resize them properly.  The first thing is to make sure your map is large enough (the window is limited to a % of the map size).

                If that’s not the issue, could you please get the latest beta?  It should fix the issue but if not please post or send me a URL where I can see the problem.

                http://mappresspro.com/betas

                 

                 

                in reply to: POI popup window is not big enough for content #10674
                Chris
                Keymaster

                  Hi Nick,

                  I tried the URL but it looks OK to me using IE9.  What browser are you using?

                  Some things to try:

                  – upgrade to the latest version (2.38.7).

                  – clear your browser’s cache (in case there’s some older javscript)

                  – when specifying image sizes, include ‘px’, i.e. style=”width:100px;height:100px”

                  If that doesn’t help let me know and I’ll look again.

                  in reply to: POI List into Columns … anyone cracked it? #10634
                  Chris
                  Keymaster

                    Hi Nick,

                    I hope someone has an answer.  I looked at this a few times but I didn’t see any general solution – it seems to be one of those things that should be easy, but isn’t.

                    Here’s a blog post about various approaches:

                    http://www.alistapart.com/articles/multicolumnlists/

                    If you know in advance how many items you’ll have, and how many columns, then you can use a little PHP and hardcode the output in an HTML table – for example for 3 columns with 5 items per columns you can print item 1, 6, 11 across the first row, 2, 7, 12 across the second and so on.

                    Chris
                    Keymaster

                      Hi,

                      Each marker has a description, but there’s also an address (or lat/lng) saved with it.  The address isn’t visible and if you drag the marker into position it will just be a lat/lng coordinate pair.

                      Do you have a URL where I can see those two addresses on the map?  I’d like to see the address that was actually saved with each marker.

                      Chris
                      Keymaster

                        Hi,

                        Could you please close your duplicate post on wordpress.org?  This forum is the right place for your question and I’ll try to help you here.

                        Do you have an example of an address that you think is being reformatted?

                        MapPress calls the Google geocoding service for its results.  Google does use a different geocoder for their own maps application, but the two are generally in sync.

                        You can see what Google actually returns for a particular address by typing it into your brower (replace ‘youraddress’ with the address you’re interested in):

                        http://maps.googleapis.com/maps/api/geocode/json?sensor=true&address=youraddress

                         

                        in reply to: Trying to Edit the Map Poi Template to include other info #10616
                        Chris
                        Keymaster

                          Hi Ryan,

                          I’m assuming you’re using a mashup?  If so, you were close – try this to get the whole post:

                          $poi->get_post()

                          Or this to get just the postid:

                          $poi->postid

                          I haven’t finished the beta documentation yet, but feel free to ask me here or by email.

                          in reply to: Style the marker infowindow #10614
                          Chris
                          Keymaster

                            For anyone else looking, this feature is now available in 2.38.7.  I call the new infoWindows ‘infoBoxes’.  They can be styled using CSS and also extend beyond the map boundaries – handy for widgets and other smaller maps.

                            If you don’t see 2.38.7 in your account, please contact me using the contact form.

                            in reply to: Map Zoom not responding #10604
                            Chris
                            Keymaster

                              Hi,

                              What shortcode are you using?  Please paste it here.

                              The map shows it has zoom of zero.  Have you tried centering and zooming the map in the Map Editor and then saving it?

                              You can also set the zoom in the shortcode:

                              [mappress zoom="5"]

                              in reply to: Auto Populate the "To" box in a template #10571
                              Chris
                              Keymaster

                                Hi,

                                Have you tried the latest beta version?  It has a ‘my location’ feature the user can click to insert his location, which might be close enough for what you need:

                                http://mappresspro.com/betas

                                 

                                in reply to: Style the marker infowindow #10558
                                Chris
                                Keymaster

                                  Hi, no that’s not possible.  I have style-able infowindows coming soon in MapPress, but it won’t be available for another month.

                                Viewing 15 posts - 946 through 960 (of 1,120 total)