task

 SCRIPT map.js 

[WHAT]

  1. [ def ]  file containing js scripts for the sospep webUI - mapping function
  2. [ args ] 

[WHY]

  1. [Properties]
    1. LIST.global = 
  2. [Constructors]
    1. ]
  3. [Methods]
    1. ] initializeMap()
    2. ] initializeDirections()
    3. ]

[WHERE called from]

  1. ] PAGE view/location
    1. ] used to display 'Map' tab
    2. ] used to display 'Directions' tab

[WHEN]

  1. ] 2014-03-03
  2. ] re-usable mapping functionality

[EXAMPLE]

  1. ] http://sospep.com/view/location?id=229
    1. ] this example shows directions from the default users(home) location to the destination location(Las Vegas)
    2. * change this to a js fiddle

[HOW-TO]

  1. ] include reference to script
    1. ] this script
    2. ] also need reference to google mapping api
  2. ] css
    1. ]
  3. ] page components
    1. ] map_container
    2. ] directions panel
    3. ]

[REFERENCE]

  1. ] map.js -v-001 - 

 


developer implementation

[.process]

  1. // FIXed the display resize issue
    1. ] MAP was opening in small square in top left corner, upon resized page, would expand to
    2. ] RESOlUTION =
  2. // ? CENTERING - TRY
    1. ] centering

[.notes]

  1.  

[.by_date]

  1. [YYYY-mm-DD]

status 

[previously]

  1. ] validation using js-lint

[currently]

[next]

  1. ] /scripts/
Details Photos Edit more

Details

ID: 3575

NAME: SCRIPT-map

DESCRIPTION: mapping functions for google maps - ] remove script from in page ] modularize

START DATE TIME: 2014-03-04 21:19:02

EST DURATION: 01:00:00

END DATE TIME: 2014-03-04 22:19:02

STATUS: Completed

PRIORITY: -5

OWNER ID: 75

Content Photos Edit more

photos

photos for this task

actions

Agenda Email task SMS task Priorities