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

State the selective clear - logic micro operations, State the SELECTIVE CLE...

State the SELECTIVE CLEAR - logic micro operations The selective-clear operation clears to 0 bits in register A only  where there are corresponding 1's in the register B. For

List the steps needed to perform page replacement, List the steps needed to...

List the steps needed to perform page replacement. The steps required to perform page replacement are: 1. Find out which page is to be removed from the memory. 2. Perfor

Instruction set architecture - computer architecture, Instruction Set Archi...

Instruction Set Architecture:                             Instruction set architecture cycle-it is smallest unit of time in a processor. superscalar processor

Describe critical directive in fortan, Q. Describe Critical Directive in FO...

Q. Describe Critical Directive in FORTAN? The critical directive permits one thread executes associated structured block. When one or more threads attain critical directive the

Explain the odd-even transposition algorithm, Q. Explain the odd-even trans...

Q. Explain the odd-even transposition algorithm? The algorithm needs one 'for loop' beginning from I=1 to N it implies that N times and for every value of I, one 'for loop' of

What is multi-threaded unix kernel, Q. What is multi-threaded unix kernel? ...

Q. What is multi-threaded unix kernel? Multi-threaded UNIX kernel: We know threads are light-weight processors demanding minimal state information comprising the processor stat

What are the special unit related fields and methods, What are the special ...

What are the special unit related fields and methods?   The most significant method (in fact pseudo method) related to units is get_enclosing_unit().  The mostly used field in

What is collective message passing, Q. What is Collective Message Passing? ...

Q. What is Collective Message Passing? In collective message passing all the processes of a group take part in communication. MPI offers a number of functions to apply the coll

Explain syntax of recursion, Syntax of recursion int fib(int num) /*...

Syntax of recursion int fib(int num) /* Fibonacci value of a number */ {      switch(num) { case 0: return(0); break; case 1: return(1); break; default:  /* Incl

Why is cloud computing important, Why is Cloud Computing important? The...

Why is Cloud Computing important? There are many implication of cloud technology, for both developers and end users. For developers, cloud computing gives increased amounts of

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