Chris

Forum Replies Created

Viewing 15 posts - 661 through 675 (of 1,120 total)
  • Author
    Posts
  • in reply to: Only one marker per address shows up #13120
    Chris
    Keymaster

      Hi Kathy,

      I really can’t say – I don’t know how your site and data are set up. If you’d like to provide a login and a specific example I’ll be happy to take a look.

      In general, it’s best to set up each location you want mapped as a separate post. In your case it sounds like you might want one post per event. You could then assign events to a location using a taxonomy, and use a mashup by category/tag to show all events or just events for a location.

      in reply to: Address Marker is Missing #13119
      Chris
      Keymaster

        Hi,

        I can’t say without a URL to illustrate the problem, but did you publish the post? Perhaps when you preview you’re just seeing the page before the marker has been saved completely.

        If that’s not it, in general a good place to start is to disable all other plugins and the theme for a moment, to see if there’s a conflict.

        Also, in the FAQ there’s a description of a “rocket” server add-on used by some hosts, that can interfere with rendering markers. It’s relatively rare so I’m not sure if applies to you.

        in reply to: Width of Default Map not changing #13085
        Chris
        Keymaster

          Hi,

          What version of the plugin are you using?

          The default setting only affects *new* maps – any existing maps would have been saved with their original dimensions.

          in reply to: Ajax response not working for setCenter() etc #13073
          Chris
          Keymaster

            Hi Mike,

            Feel free to send a link if you like.

            SetCenter takes TWO arguments, a lat and a lng – not a structure. You can try hardcoding it to see:

            mapp0.setCenter(-32,22);

            in reply to: Ajax response not working for setCenter() etc #13071
            Chris
            Keymaster

              Hi,

              I don’t think you want to wrap your function calls in jQuery(). Try:
              mapp0.setCenter(response);

              Instead of:
              jQuery(mapp0.setCenter(response));

              in reply to: OVER_QUERY_LIMIT #13048
              Chris
              Keymaster

                When you enter a map in the map editor, it geocodes using the javascript API. That API uses the IP address of the client (your PC).

                When a map is being generated on the server, it geocodes using the IP address of the server – which in this case is over the limit.

                in reply to: OVER_QUERY_LIMIT #13045
                Chris
                Keymaster

                  Sorry, I misspoke: the API key is only for map views, not for geocoding requests.

                  Geocoding is limited to about 2,500, by IP address. The only exception is there’s a higher limit (to 100,000, I think) for Google Maps for Business accounts – but it’s very expensive.

                  You can also configure MapPress to use the nominatim geocoder, but in my experience the resulting geocoding quality is poor.

                  in reply to: OVER_QUERY_LIMIT #13042
                  Chris
                  Keymaster

                    Hi,

                    The message indicates that you or someone else has exceeded the maximum number of geocoding requests per day for the server’s IP address.

                    There’s some info in the documentation. In general you can wait until tomorrow or get an API key so Google can track your usage (if you think it’s someone else on a shared server).

                    in reply to: Map appearing partially in a toggle #13038
                    Chris
                    Keymaster

                      You passed the result of the resize function to slideToggle, not the function itself. It should be:

                      `$(“#mapp”).hide();
                      $(“#maptoggle”).click(function(){
                      $(“#mapp”).slideToggle(“fast”, mapp0.resize);
                      });

                      in reply to: Map appearing partially in a toggle #13031
                      Chris
                      Keymaster

                        Strange, I see the toggle taking 2 seconds and the map sizing correctly.

                        But then the ‘simple toggle’ code fires and closes the toggle control again immediately:

                        {$(document).ready(function(){$(“h3.symple-toggle-trigger”).click(function(){$(this).toggleClass(“active”).next().slideToggle(“fast”);return false;});

                        You should try this without using a plugin, and just call the jQuery slidToggle directly.

                        in reply to: Map appearing partially in a toggle #13029
                        Chris
                        Keymaster

                          I guess the duration is in milliseconds. So try 2000.

                          in reply to: Map appearing partially in a toggle #13027
                          Chris
                          Keymaster

                            Try this, “2” is for 2-second opening:

                            $(“#page-slider h3.symple-toggle-trigger”).click(function(){
                            $(this).toggleClass(“active”).next().slideToggle(2, mapp0.resize);
                            });

                            in reply to: Map appearing partially in a toggle #13025
                            Chris
                            Keymaster

                              Hi,

                              Your site is still showing the original code. How about updating it with the code I gave you, so I can take a look?

                              in reply to: Map appearing partially in a toggle #13020
                              Chris
                              Keymaster

                                Hi,

                                The workaround built into the plugin is for tabs. For the slider/toggle there’s no event for the plugin to watch for, so you’re doing it the right way.

                                For the issue with calling toggle twice, it may help to use the ‘complete’ argument for toggle(), to set the map resize *after* the animation finishes:

                                $(“#page-slider h3.symple-toggle-trigger”).click(function(){
                                  $(this).toggleClass(“active”).next().slideToggle(0, 1, mapp0.resize);
                                });
                                in reply to: Benefits Of Lats & Longs In Custom Fields? #13015
                                Chris
                                Keymaster

                                  Hi,

                                  That code would be very helpful if you want to restrict the result set by querying using lat/lng. As far as reading the result maps or poi details, it’s fastest to read them as a serialized object (the way they’re stored in the custom tables).

                                Viewing 15 posts - 661 through 675 (of 1,120 total)