vitebonus / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

externs for Google Maps API is missing google.maps.MarkerImage #522

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The externs file for Google Maps from the closure compiler svn trunk is missing 
google.maps.MarkerImage.
(https://developers.google.com/maps/documentation/javascript/reference#MarkerIma
ge)

STEPS TO REPRODUCE

1. create file test.js with the following two lines:
new google.maps.BicyclingLayer;
new google.maps.MarkerImage;

2. download externs file for Maps api v3.11:
wget 
http://closure-compiler.googlecode.com/svn/trunk/contrib/externs/maps/google_map
s_api_v3_11.js

3. Compile test.js in advanced mode with verbose warnings:
java -jar compiler.jar --externs=google_maps_api_v3_11.js --warning_level 
VERBOSE --compilation_level ADVANCED_OPTIMIZATIONS test.js

EXPECTED OUTPUT
new google.maps.BicyclingLayer;new google.maps.MarkerImage;

ACTUAL OUTPUT
new google.maps.BicyclingLayer;new google.maps.a;

What version of the product are you using? 
Closure Compiler (http://code.google.com/closure/compiler)
Version: 20121212 (revision 2388)
Built on: 2012/12/12 17:42

Debian Linux i686

java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.3) (7u3-2.1.3-1)
OpenJDK Client VM (build 22.0-b10, mixed mode, sharing)

Original issue reported on code.google.com by therealj...@gmail.com on 21 Dec 2012 at 8:38

GoogleCodeExporter commented 8 years ago
Oops, I should have posted this on the closure compiler issues list rather than 
here. I have done so now (issue 885), so this issue can be closed.
http://code.google.com/p/closure-compiler/issues/detail?id=885

Original comment by therealj...@gmail.com on 22 Dec 2012 at 7:58

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 23 Dec 2012 at 4:34