1- // $> pbjs --target static-module --wrap commonjs --root test_vector_tile --out tests/data/mapbox/vector_tile.js tests/data/mapbox/vector_tile.proto
2- // Generated Mon, 02 Jan 2017 21:00:30 UTC
3-
41/*eslint-disable block-scoped-var, no-redeclare, no-control-regex*/
52"use strict" ;
63
@@ -254,19 +251,19 @@ $root.vector_tile = (function() {
254251
255252 /**
256253 * Value intValue.
257- * @type {number|Long }
254+ * @type {number|$protobuf. Long }
258255 */
259256 $prototype . intValue = $protobuf . util . emptyObject ;
260257
261258 /**
262259 * Value uintValue.
263- * @type {number|Long }
260+ * @type {number|$protobuf. Long }
264261 */
265262 $prototype . uintValue = $protobuf . util . emptyObject ;
266263
267264 /**
268265 * Value sintValue.
269- * @type {number|Long }
266+ * @type {number|$protobuf. Long }
270267 */
271268 $prototype . sintValue = $protobuf . util . emptyObject ;
272269
@@ -512,7 +509,7 @@ $root.vector_tile = (function() {
512509
513510 /**
514511 * Feature id.
515- * @type {number|Long }
512+ * @type {number|$protobuf. Long }
516513 */
517514 $prototype . id = $protobuf . util . emptyObject ;
518515
@@ -526,7 +523,7 @@ $root.vector_tile = (function() {
526523 * Feature type.
527524 * @type {number }
528525 */
529- $prototype . type = 0 ;
526+ $prototype . type = undefined ;
530527
531528 /**
532529 * Feature geometry.
@@ -567,7 +564,7 @@ $root.vector_tile = (function() {
567564 }
568565 writer . ldelim ( ) ;
569566 }
570- if ( message . type !== undefined && message . type !== 0 ) {
567+ if ( message . type !== undefined && message . type !== undefined ) {
571568 writer . uint32 ( 24 ) . uint32 ( message . type ) ;
572569 }
573570 if ( message . geometry && message . geometry . length ) {
@@ -731,7 +728,7 @@ $root.vector_tile = (function() {
731728 dst . tags = [ ] ;
732729 }
733730 }
734- dst . type = impl . enums ( src . type , 0 , types [ 2 ] , options ) ;
731+ dst . type = impl . enums ( src . type , undefined , types [ 2 ] , options ) ;
735732 if ( src . geometry && src . geometry . length ) {
736733 dst . geometry = [ ] ;
737734 for ( var i = 0 ; i < src . geometry . length ; ++ i ) {
0 commit comments