name

A unique ID for the weblet. This property is required. It allows the weblet to be directly referenced by Google Map API. The value must be unique within the page.

Note: jQuery Mobile loads pages using Ajax and inserts them into the current page, optionally performing an animation as it does. This means that the content for two webroutines may both exist in a page for a brief period of time. If both webroutines contain a weblet with the same ID and you have any custom CSS or JavaScript that references the weblet during this period of time you may get unexpected results. For this reason, you should aim to make an ID globally unique. One way of doing this is by concatenating the name of the webroutine to the "name" of the map.

Default value

Generated value.

Valid values

The rules for valid characters and formatting in an ID attribute vary depending on the version of HTML you want to support. For specific details, look at the appropriate specifications: http://www.w3.org/

To ensure compatibility with all versions of HTML, CSS and JavaScript libraries such as jQuery, you should stick to the following rules: