Forum Replies Created
-
AuthorPosts
-
Hi,
The widget is for displaying maps (not POIs) so the map will need to be saved on another page. It disables the directions link by default because the sidebar is usually not wide enough to display the directions form.
To re-enable the form, you can use the field where you can specify additional shortcode parameters. This should work to override its default and show directions in the sidebar:
directions="inline"It may work better to open instead open a new page with Google for directions (it’ll provide easy printing and a bigger space to work with):
directions="google"Hi,
I don’t know how your import script works, but MapPress hooks into the events for meta fields being updated in order to trigger its geocoding.
You might check to see if there’s a field ‘mappress_error’ on those posts, which would indicate a geocoding error, although you should still see an empty map.
You can also use the action ‘mappress_update_meta’ to force an update when you know all the field data has been saved – my own TurboCSV importer calls this action. You’ll need to pass it the post ID to update:
do_action('mappress_update_meta', $post_id);Hi,
Yes, that’s possible – there are some good plugins specifically for controlling where widgets appear in your theme.
I use one called “widget logic” which seems to work well.
Hi,
I think this will work:
[mappress datatables="false"]September 8, 2013 at 9:40 am in reply to: Use custom fields to create multiple POIs per post? #13328Hi,
Sorry, only one POI per post is supported. I don’t know the details of your design, but a workaround might be to create multiple posts and then combine them together using a mashup map?
There’s a similar question here with an example that may help:
http://mappresspro.com/forums/topic/mashup-template-php-syntax
There’s a similar question here with an example that may help:
http://mappresspro.com/forums/topic/mashup-template-php-syntax
Hi,
You just need to include your variable(s) in the query:
echo do_shortcode (' [mashup query= "dealership_state=' . $current_dealership_state . '& posts_per_page=-1" ] ');Hi,
Please put feature requests in that section. This one has been requested before and I will eventually add it (it’s
called “clustering”).Thanks for the feedback.
On the settings screen – there’s a style maps section where you need to paste your json.
Hi,
That should work. WordPress doesn’t document the query string very well in their codex but it does work.
You should able to do things like:
query="mytax1=a" query="mytax1=a+b" (a and b) query="mytax1=a,b" (a or b) query="mytax1=a&mytax2=b" (mytax1 = a and mytax2 = b)Remember to use slugs for the taxonomy name and term values.
Hi,
Google has recently made it so those POIs are always clickable. They’ve refused to fix it, you can see the bug report here if you’re interested.
One workaround is to use a styled map to hide the business POIs. Google’s own styling tool allows you to select POI layers and hide them. Please see the MapPress documentation for more information about how to enter map styles in the settings.
September 6, 2013 at 6:15 am in reply to: Geocoding Address Line 1 , Address Line 2 Not Appearing #13296Hi,
I see the problem. When Google is able to geocode a result, you’ll see a single marker for the street address. Try it with “620 Pulaski Highway, Bear, Delaware, 19701”.
When it can’t geocode the address, Google shows a list of businesses that might match from Google Places. That’s what you’re seeing with “620 Pulaski Highway, Route 40, Bear, Delaware, 19701
MapPress uses the Google geocoding service (not Places) and it needs to have at least one match through that service. You can test the geocoder directly using this url.
The result is approximate, for “Bear, DE” which is what you see in MapPress.
I see the “Powersports” business on Google shows without the “route 40” but they include it on their web site. If the “route 40” part is valid, Google has a service where you can notify them of errors and get them fixed (click ‘report a problem’ in the bottom-right corner of any map).
If you have a lot of errors of this kind, I don’t think there’s an easy answer. You can fix the addresses, or possibly find another geocoder that is more lenient. MapPress supports Nominatim, but it’s not very accurate. There are also some other paid and free geocoding services.
September 5, 2013 at 12:10 pm in reply to: Geocoding Address Line 1 , Address Line 2 Not Appearing #13290Hi,
What is the actual address you were trying to use in example #2? Does Google accept it if you enter it at maps.google.com?
MapPress concatenates the address parts together using a comma between each part, so for the example you would end up with “1030 Nice St, Route 221, City, State, Zip” (or whatever is actually being used).
However, that doesn’t mean Google will accept the address. It allows apartments i.e. “1030 Nice St, Apt 1234” but it seems fussy about other strings.
If that’s the problem, maybe you could enter the address without “route” but include the full address in the POI body text for your readers.
The shortcode parameters are in the documentation. That one isn’t included – no one has asked about turning off thumbnails for a single map before.
-
AuthorPosts
