In this searchable database -- http://www.signonsandiego.com/firemap/search.html -- when a user does a search that has no results, the results page shows \"No results,\" but the map defaults to Latitude 0, Longitude 0 -- just off the coast of Africa.
I have a default zoom level and home_position specified and when there are any matches the map defaults to them with no problem, it's just this \"no results\" outcome I can't figure out.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
jeffdillon
In this searchable database -- http://www.signonsandiego.com/firemap/search.html -- when a user does a search that has no results, the results page shows \"No results,\" but the map defaults to Latitude 0, Longitude 0 -- just off the coast of Africa.
I have a default zoom level and home_position specified and when there are any matches the map defaults to them with no problem, it's just this \"no results\" outcome I can't figure out.
Here's my code:
Map it
Thanks for any help.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.