Changes between Initial Version and Version 1 of Ticket #15575, comment 2


Ignore:
Timestamp:
Jul 20, 2012, 3:42:50 PM (8 years ago)
Author:
Kitson Kelly
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15575, comment 2

    initial v1  
    11Map is being initialized within a templated widget.
    22
    3 {{{ postCreate : function() {            this.inherited(arguments);            this.mapWidget = new Map({                baseLayerType : dojox.geo.openlayers.BaseLayerType.OSM,                style : "border:1px solid #DDD;height:100%;width:100%",                initialLocation : {                    position : [-74.00597, 40.71427]                }            }, this.map);} }}}
     3{{{#!js
     4postCreate : function() {
     5            this.inherited(arguments);
     6            this.mapWidget = new Map({
     7                baseLayerType : dojox.geo.openlayers.BaseLayerType.OSM,
     8                style : "border:1px solid #DDD;height:100%;width:100%",
     9                initialLocation : {
     10                    position : [-74.00597, 40.71427]
     11                }
     12            }, this.map);}
     13}}}