Sunday, February 19, 2017

Google Maps - Getting Started

What are Google Maps?

Google Maps is a free web mapping service by Google that provides various types of geographical information. Using Google Maps, one can.

Google Maps - Types

In the previous chapter, we discussed how to load a basic map. Here, we will see how to select a required map type.

Types of Maps

Google Maps provides four types of maps. They are −

Google Maps - Zoom

Increase/Decrease the Zoom Value

You can increase or decrease the zoom value of a map by modifying the value of the zoom attribute in the the map options.

Google Maps - Localization

By default, the city names and option names given on the map will be in English. If required, we can display such information in other languages as well. This process is known as localization. In this chapter, we will learn how to localize a map.

Google Maps - UI Controls

Google Maps provides a User Interface with various controls to let the user interact with the map. We can add, customize, and disable these controls.

Default Controls

Here is a list of the default controls provided by Google Maps −

Google Maps - Markers

We can draw objects on the map and bind them to a desired latitude and longitude. These are called overlays. Google Maps provides various overlays as shown below.
  • Markers
  • Polylines
  • Polygons
  • Circle and rectangle
  • Info window
  • Symbols

Google Maps - Shapes

In the previous chapter, we learned how to use markers in Google Maps. Along with markers, we can also add various shapes such as circles, polygons, rectangles, polylines, etc. This chapter explains how to use the shapes provided by Google Maps.

Google Maps - Info Window

In addition to markers, polygons, polylines, and other geometrical shapes, we can also draw an Info Window on the map. This chapter explains how to use the Info Window.

Google Maps - Symbols

In addition to markers, polygons, polylines, and other geometrical shapes, we can also add predefined vector images(symbols) on a map. This chapter explains how to use the symbols provided by Google Maps.

Google Maps - Events

The Google Maps JavaScript program can respond to various events generated by the user. This chapter provides examples demonstrating how to perform event handling while working with Google Maps.

Google Maps - Quick Guide

Google Maps - Getting Started

What are Google Maps?

Google Maps is a free web mapping service by Google that provides various types of geographical information. Using Google Maps, one can.

Google Maps - Useful Resources

The following resources contain additional information on Google Maps. Please use them to get more in-depth knowledge on this topic.

Discuss Google Maps

Google Maps is a free web mapping service by Google that provides various types of geographical information. Google Maps has a JavaScript API to customize the maps and display them on your webpage.

Framework7 - Overview

What is Framework7?

Framework7 is a free and open source framework for mobile HTML. It is used for developing hybrid mobile apps or web apps for iOS and Android devices.

Framework7 - Environment

In this chapter, we will discuss about how to install and setup Framework7.
You can download the Framework7 in two ways:

Framework7 - Layouts

Description

Framework7 provides different types of layouts for your application. It supports for three types of Navbar/Toolbar layouts:

Framework7 - Navbars

Description

In this chapter let us study about navbar. It is a usually placed at top of a screen containing title of the page and navigation elements.
Navbar consists of 3 parts each of which may contain any HTML content, but it is suggested to use them like the way given below:

Framework7 - Toolbars

Description

Toolbar provides easy access to other pages by using navigation elements at the bottom of the screen.
You can use toolbar in two ways as specified in the table:

Framework7 - Search Bar

Description

Framework 7 allows searching the elements by using the searchbar class.

Search Bar Parameters

S.N.Parameters & DescriptionTypeDefault
1 searchList
It searches the CSS selector or HTML element of the list.

Framework7 - Status Bar

Description

The iOS 7+ allows you to build full screen apps which could create an issue when your status bar overlaps your app. Framework7 solves this problem by detecting whether your app is in full screen mode or not. If your app is in full screen mode then, the Framework7 will automatically adds with-statusbar-overlay class to <html> (or removes if app is not in full screen mode) and you need to add statusbar-overlay class in <body> as shown in below code:

Framework7 - Side Panels

Description

The side panel moves to left or right side of the screen to display the content. Framework7 allows you to include up to 2 panels (right side panel and left side panel) to your app. You need to add panels in the beginning of the <body> and then choose opening effect by applying the below listed classes:

Framework7 - Content Block

Description

Content blocks can be used to add extra content with different format.

Example

The below example demonstrates use of content block in the Framework7:
<!DOCTYPE html>
<html>
   <head>

Framework7 - Layout Grid

Description

Framework7 provides different types of grid types to place the content as per user need.
The layout grid provides different types of columns size as described in the below table:

Framework7 - Overlays

Description

Framework7 provides different types of overlays to work with the applications smoothly. Following table lists some of the Framework7 overlays: