8000 GitHub - henningc/RavenBurgerCo: Sample application showcasing RavenDB's spatial features
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sample application showcasing RavenDB's spatial features

Notifications You must be signed in to change notification settings

henningc/RavenBurgerCo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raven Burger Co - A RavenDB Spatial Showcase!

This project aims to demonstrate some usages of RavenDB's spatial features.

How do I use this project?

  1. Clone this repository
  2. Open the solution in Visual Studio 2012
  3. Press F5
  4. Play!

Scenario

Raven Burger Co is a chain of fast food restaurants, based in the United Kingdom. Their speciality is burgers made with raven meat. All their restaurants offer eat-in/take-out service, while some offer home delivery, and others offer a drive thru service.

This sample application is their online restaurant locator.

Examples

Each example is explained below.

1. General Map

The user can pan and/or zoom a map to browse the different restaurants.

Each time the map's view has changed, the bounds of the map's view is used to query the database for any restaurants that are within those bounds.

2. Eat-in / Take-out

The user can use this page to look for their nearest restaurant.

3. Delivery

The user can choose a location, and be shown which restaurants deliver to that location. Clicking each restaurant displays its polygon (delivery area).

Restaurants that offer a delivery service have a polygon which defines the area which they deliver to. Once the user chooses a location, the database is queried for any delivery areas that contain the user's location.

4. Drive Thru

The user can choose an origin and destination for a car journey. They will then be shown the best route for their journey, and restaurants that are no more than 5 km from the route. If the user clicks a restaurant, they will be shown a new route which stops by the drive thru restaurant.

About

Sample application showcasing RavenDB's spatial features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0