photo

john plein

shared this question
5 years ago

Employees Involved

photo

Ryan Bonham

Admin

photo

PIV Support

Admin

Statistics

8
Comments
601
Views

Share

1
votes

remove listing title from {link_map_url}

using OR v 3.2.5

our listing detail template uses the {link_map_url} tag

but the map that is loaded cannot locate the listing location, because the address info that is sent to the mapping site (google) includes the listing title. If the listing title is removed (leaving only the gps location) then the map properly locates the listing.

How can I remove the listing title from the map tag?

Thanks

Add Comment

Comments (8)

photo Employee
1

Check what you are using for Map Settings in Site Config --> Listings tab

photo
1

I have only the first two address fields ("Address Field" & "Address Field 2") set to use the latitude & longitude fields. All the other address fields are blank.

photo
1

I confirm {link_map_url} tag always include Listing Title no matter what (O-R v.3.2.5).

IMO, a detail to be fixed with a new O-R release.

photo
1

Anyone have advice on how to fix this?

Thanks!

photo
1

The map link feature is unusable as it is with the listing title being included. Our site sells bare land and many listings do not have an address. The only thing that works to get an accurate map for all listings is the geocodes.

PIV support, can you give me any clues to a solution?

Thanks

photo
1

While we don't have a new O-R release (new version after v.3.2.5) with this detail changed, the ONLY possible solution is to create an add-on to query the database after field values you wish and URL Encoding them.

photo Employee
1

Hi,

Can you please post one of the Google Map links that do not work, so we can examine them to see what is going on.

photo
1

Hi Ryan,

Actually in the process of getting the link, I figured out the problem. The client was using parentheses in the listing titles, and that was breaking the link.

Seems most any other character will work in the map link, but not parentheses.

I've edited several listings to remove the parentheses in the titles (and try other characters) and they always work afterwards.

Here's one that hasn't been edited yet:

http://dev3.landradar.com/listing-just-listed-35-acres-west-of-huntersville-on-co-rd-18-380th-st-613.html

Thanks

Leave Comment

photo

Attach files...

The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 20M