Default map image
Is it possible to change the google default image to one of my own images if no address is found?
Is it possible to change the google default image to one of my own images if no address is found?
There is no way to do this through the Google MAPS API, however, if you are pulling your address data from a recordset you can wrap the Google Map in a Show if Recordset Not Empty statement, and then wrap your place holder of choice in a Show if Recordset Empty statement.
Hope that helps?
Cheers
Ian
Thanks Ian. So you can put a show if recordset empty inside of a show if recordset not empty behavior?
Yes, but you need to be careful that your Show Ifs don't conflict each other, otherwise you could end up not seeing things that you should see, because it is wrapped in another statement.
Depending on how your web page / database is setup there are different types of statements you could use. For example Show if the Post Code field is empty or not etc.
Cheers
Ian
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.