Comments (6)
Yes but need restrict some small village area because it's doesn't shown anything.
I mean if someone is search for ATM's of small village that is far to some city and also this village not have any ATM that time the result will be 0(zero).
I think this is not a problem but we need to care about it.
What you think?
from lookaround.
Yeah .. The only problem is that the map doesn't show anything. But I guess we have to handle it in a better way.
Why I need to do this because most of the times I don't know the zip code, but know the area name. And note that, with the existing implementation, we can search using place names
Check this link
http://lookaround.herokuapp.com/app/index.html#/search/dubai/bicycle_store
The search query is "dubai" instead of pin code.
But you cannot do it from the UI, as I have restricted the text boxes only zip code. So, I just need to remove the validation.. that's all !!
from lookaround.
Yea, Its look like a very good result.
One simple problem is when we search for any small city/area, that time it's not provide us a accurate result.
please check this
http://lookaround.herokuapp.com/app/index.html#/search/gondal/atm
Your this ideas is a very intelligent to search for any category with in worlds any city.
I'm a big fan of this app.
from lookaround.
You could do this with one text box and auto-complete to insure that things match up properly. Rules would be as follows:
If entry is digits, check postal code (most countries, I think -- I know this holds true for India and the US)
If entry is letters then digits (<= 4 chars, UK postal codes)
If entry is letters and greater than 4 chars, start searching cities, countries.
We pass this to Google autocompleter and let it handle the rest. We then perform validation on the selected result.
from lookaround.
@Xliff why not directly use google autocomplete map search (input with autocomplete address). User are aware of how it works.
The rules that you provided are not known to users. They might get confused why the app is behaving in a random way.
from lookaround.
That would assume that you could restrict Google autocomplete to just zip-codes. When I wrote that comment, that feature wasn't implemented, hence the need for the rules in the previous comment.
If Google Maps auto-complete has been updated to restrict to zip-codes, then you are correct. We can use that instead. It would make things MUCH easier.
from lookaround.
Related Issues (13)
- Google Maps API HOT 4
- Change assets' reference to local
- util.puts: Use console.log instead (warning in web server logs)
- Upgrade the app to use latest stable version of AngularJS
- Use bower for package management HOT 10
- Heroku: Upgrade to Cedar-14
- Add filter to searched results HOT 3
- An in-range update of bower is breaking the build 🚨 HOT 7
- Version 10 of node.js has been released
- Implement Material Design HOT 3
- deepak HOT 1
- Resolve Google Maps API warning: SensorNotRequired
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lookaround.