GeoMashup
[ class tree: GeoMashup ] [ index: GeoMashup ] [ all elements ]

Class: GeoMashupRenderMap

Source Location: /render-map.php

Class Overview


Static class for map rendering namespace


Author(s):

Methods



Class Details

[line 16]
Static class for map rendering namespace



Tags:

since:  1.4
access:  public


[ Top ]


Class Methods


static method enqueue_script [line 67]

static void enqueue_script( string $handle)

Enqueue a script to be included in the map frame.

Register external scripts with wp_register_script(). Register local scripts with GeoMashup::register_script().




Tags:

since:  1.4
access:  public


Parameters:

string   $handle   The handle used to register the script.

[ Top ]

static method enqueue_style [line 48]

static void enqueue_style( string $handle)

Enqueue a style to be included in the map frame.

Register external styles with wp_register_style(). Register local styles with GeoMashup::register_style().




Tags:

since:  1.4
access:  public


Parameters:

string   $handle   The handle used to register the style.

[ Top ]

static method head [line 84]

static void head( )

Print only resources queued for the Geo Mashup map frame.

Can be replaced with wp_head() to include all blog resources in map frames.




Tags:

since:  1.4
access:  public


[ Top ]

static method map_property [line 102]

static string|null map_property( string $name, [string $new_value = null])

Template tag to get a property of the map for the current request.

Current properties available: height and width for inline map styles.




Tags:

return:  The property value or null if not found.
since:  1.4
access:  public


Parameters:

string   $name   The name of the property to get.
string   $new_value   Optional, sets the property if supplied.

[ Top ]

static method map_script [line 31]

static string map_script( string $element_id)

Template tag for the current map script.



Tags:

return:  The script tag to generate the map for this request.
since:  1.4
access:  public


Parameters:

string   $element_id   The DOM id of the map container.

[ Top ]

static method render_map [line 136]

static void render_map( )

Render the requested map.



Tags:

since:  1.4
access:  public


[ Top ]


Documentation generated on Sat, 09 Jul 2011 21:54:59 -0700 by phpDocumentor 1.4.3