Display the map centered on the users location, Computer Engineering

Assignment Help:

Question:

a) The following is a description of the navigation options in a mobile web site which provides public bus time slots for a city. It is an interesting service for mobile web users who need to take buses especially when they are not sure when they will arrive.

When you first enter the site, a welcome page appears with a Begin link. After that, you have to choose from a list which bus line you want to query. Then you see a list of final stops for that line, to select your orientation. After selecting your orientation, you have to choose the stop or station where you want to get on the bus. There is a list of around 100 addresses, ordered alphabetically. If you don't know the street name for the stop you want, you will need to make an average of 25 clicks to find the right one.

Once you have found your stop, you need to select whether you want a normal bus or a bus with air-conditioning support. Finally, the service informs you when the next two buses will be arriving. You have to navigate through six pages and choose from a 100 item list to get the result. i) Identify any two navigation problems in this mobile web site, and also propose appropriate solution(s) for each.

ii) In the city for which this system is provided, during peak hours, the buses have a short delay time. Then, what could be the context of this web site?

b) You have been asked to adapt this system for the Mauritian context, and it shall be available on smartphones and tablets. Answer the following questions:

i) Which Web layout pattern would you consider to be more appropriate? Justify your answer.

ii) How are you going to provide automatic size adaptation using CSS3 media queries? You may write down the skeleton css stylesheet for media queries. Clearly mark any assumptions you make.

iii) Write the javascript code you can use to get the location of the user through the W3C geolocation API.

iv) How are you going to display the map centered on the user's location, with a marker (label:X) at a given coordinate assigned to the variables ‘marker_lat' and ‘marker_long'. You may consider using the Google Map API V2.


Related Discussions:- Display the map centered on the users location

Push and pop, Suupose a stack-oriented processor that haves the stack opera...

Suupose a stack-oriented processor that haves the stack operations PUSH and POP.  Arithmetic operations automatically involve the top one or two stack elements. Starting with an

Instruction set, Instruction set: The architecture gives instructions for m...

Instruction set: The architecture gives instructions for multimedia operations and floating point operations. The Itanium supports various bundle mappings to allow for more inst

How steps of instruction execution can be broken down, Q. How steps of inst...

Q. How steps of instruction execution can be broken down? Let's explain how these steps of instruction execution can be broken down to micro-operations. To make easier this dis

Define a structure, Define a structure. A structure having an ordered g...

Define a structure. A structure having an ordered group of data objects. Unlike the elements of an array, the data objects within a structure can have varied data types. Every

Stencil duplicating, Stencil Duplicating Equipment Required Stenci...

Stencil Duplicating Equipment Required Stencil Duplicator Thermal copier (optional) Electronic stencil cutter Materials Stencil COPY paper Ink Clean

Explain operation of time multiplexed space switching, With a neat diagram ...

With a neat diagram explain operation of time multiplexed space switching. Time division switches, an inlet or an outlet corresponded to a particular subscriber line with one s

What is a fifo, What is a FIFO? FIFO is otherwise known as 'named pipes...

What is a FIFO? FIFO is otherwise known as 'named pipes'. FIFO (first-in-first-out) is a particular file which is said to be data transient. Once data is read from named pipe,

Shm, composition of two shm in right angles to each other to havingg time p...

composition of two shm in right angles to each other to havingg time period in the ratio 1:2

What is a system call, What is a system call? A  system  call  is  a  r...

What is a system call? A  system  call  is  a  request  made  through  any  program  to  the  operating  system  for performing tasks, picked by a predefined set, that the said

Determine the level of state decomposition, Determine the level of state de...

Determine the level of state decomposition The level of state decomposition must be determined by judgement. A too fine grained model is unsuitable, such as, modelling all poss

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd