OpenLayers OpenLayers

Ticket #1525: ClickExampleMisplacedCommaFix.patch

File ClickExampleMisplacedCommaFix.patch, 0.8 kB (added by openlayers, 9 months ago)
  • examples/click.html

    old new  
    3030                    );  
    3131                    this.handler = new OpenLayers.Handler.Click( 
    3232                        this, { 
    33                             'click': this.trigger, 
     33                            'click': this.trigger 
    3434                        }, this.handlerOptions 
    3535                    ); 
    3636                },  
     
    3939                    var lonlat = map.getLonLatFromViewPortPx(e.xy); 
    4040                    alert("You clicked near " + lonlat.lat + " N, " + 
    4141                                              + lonlat.lon + " E"); 
    42                 }, 
     42                } 
    4343 
    4444            }); 
    4545            var map;