Bug found
-
Hi Tijmen,
I’ve found a bug. When you enter addresses or postcodes that have apostrophes (i.e. ‘) in their names, when you click ‘directions’ (and it’s set to open it at maps.google.com) the full address gets truncated at the apostrophe (when sent to maps.google.com).
So for instance. If you use the UK postcode – PE30 4SD – which is an address in King’s Lynn, Norfolk, UK. It shows up fine on the WPSL map and if you have directions set to show on the wpsl map, they work fine. However, if you have the option “When a user clicks on “Directions”, open a new window and show the route on maps.google.com” checked and then click ‘directions’, the full address is not passed to google maps start location and the end location is completely blank. All you can see is the first part of the address in the ‘start location’ upto the point where the apostrophe appears in the official google maps name for that addresss or postcode. (e.g.The postcode PE30 4SD passes the full address as 23 Woodside, King’s Lynn, Norfolk. PE30 4SD to google maps, but if you try and get directions for that address via the directions button, it only gets as far as ’23 Woodside, King’ and then ends.
I’m sure it’s a straightforward problem with handling apostrophe’s but it’s way beyond my ability!
Thanks,
Matt
- The topic ‘Bug found’ is closed to new replies.