Uncaught SyntaxError: Unexpected token 'export'
smuellerus opened this issue · 2 comments
smuellerus commented
I am including the current version using:
<script src="js/markerclusterer.js"></script>
and the following error is shown:
Uncaught SyntaxError: Unexpected token 'export'
Line 1271
Any ideas?
jpoehnelt commented
Yes, the markerclusterer.js needs to be transpiled. For local development, I would use those outputs in the dist folder instead. You may also use the unpkg link here: https://unpkg.com/@google/markerclusterer@2.0.6/dist/markerclusterer.min.js. You can browse outputs here: https://unpkg.com/browse/@google/markerclusterer@2.0.6/dist/
smuellerus commented
I am now using markerclustererplus which worked out of the box.
…On Thu, Jan 2, 2020 at 8:50 PM Justin Poehnelt ***@***.***> wrote:
Closed #601 <#601>.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#601?email_source=notifications&email_token=AAQBDMPRGRIMPEOOGO2M5SDQ3ZAOXA5CNFSM4KBD64N2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOVX3J22Y#event-2918620523>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQBDMKI7A6SUYR7YWTZOI3Q3ZAOXANCNFSM4KBD64NQ>
.