dotevo / osm24

http://osmapa.pl/osm24
Other
19 stars 13 forks source link

Use Nominatin to query for info and pass it to opening_hours.js to evaluate PH and sunrise stuff. #21

Closed ypid closed 9 years ago

ypid commented 10 years ago

As some users are already wondering I open this issue which I already mentioned in #20.

See opening_hours.js for how to implement it.

dotevo commented 10 years ago

Thank you. I will try to add timezone support too.

ypid commented 9 years ago

Example: http://www.openstreetmap.org/node/2694888980 http://osm24.eu/index.php#!18/52.38826/9.74899/type=eat/mon=place_all/office=office_all/craft=craft_all/store=store_all/theatre_genre=theatre_genre_all/tourism_type=tourism_all/

Second example: http://www.openstreetmap.org/way/243819278 http://openingh.openstreetmap.de/osm24/index.php#!19/51.66863/6.98075/type=eat/mon=place_all/office=office_all/craft=craft_all/store=store_all/theatre_genre=theatre_genre_all/tourism_type=tourism_all/

ypid commented 9 years ago

@dotevo Can you look into this please? You can peek at my implementation.

dotevo commented 9 years ago

Is it possible to change nominatimJSON on demand?

dotevo commented 9 years ago

NVM :-)

ypid commented 9 years ago

Thanks very much :+1: It works with Chromium. But Firefox is complaining about the Same Origin Policy. Ways to circumvent the same-origin policy.

dotevo commented 9 years ago

Do you have the same issue with overpass? I'm using $.ajax for overpass query also.

ypid commented 9 years ago

The problem seems to be my firefox settings. It works with a new profiles … Thanks for getting this done so quickly :) Now the German weekly task can go on :) http://blog.openstreetmap.de/blog/2015/04/wochenaufgabe-oeffnungszeiten/