protected void ddlType_SelectedIndexChanged(object sender, EventArgs e)
        {
            string type = ddlType.SelectedValue;

            List <Restaurant> restaurantType = new List <Restaurant>();

            using (RestaurantsDBEntities1 con = new RestaurantsDBEntities1())
            {
                if (type == "")
                {
                    restaurantType = con.Restaurants.Where(a => a.Area.Equals("Cebu")).ToList();
                    ddlType.Items.Clear();
                    ddlType.Items.Add(new ListItem("Select ALL", ""));
                }
                else
                {
                    restaurantType = con.Restaurants.Where(a => a.Specialty.Equals(type)).ToList();
                }
            }

            ShowMap(restaurantType, type);
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                // Here I used Degha Location as Main Location and Lat Long is : 21.622564, 87.523417
                GLatLng mainLocation = new GLatLng(10.2833322, 123.8999964);
                GMap1.setCenter(mainLocation, 12);

                XPinLetter xpinLetter = new XPinLetter(PinShapes.pin_star, "H", Color.Blue, Color.White, Color.Chocolate);
                GMap1.Add(new GMarker(mainLocation, new GMarkerOptions(new GIcon(xpinLetter.ToString(), xpinLetter.Shadow()))));

                List <Restaurant> restaurants = new List <Restaurant>();
                using (RestaurantsDBEntities1 dc = new RestaurantsDBEntities1())
                {
                    restaurants = dc.Restaurants.Where(a => a.Area.Equals("Cebu")).ToList();
                }

                ddlType.Items.Add(new ListItem("Select Restaurant Type", ""));
                ddlType.Items.FindByValue("").Attributes.Add("Disabled", "Disabled");


                ShowMap(restaurants, "");
            }
        }