Skip to content
This repository has been archived by the owner on Jan 12, 2018. It is now read-only.

Links to more applications using esri-system-js #14

Closed
tomwayson opened this issue Jul 4, 2016 · 7 comments
Closed

Links to more applications using esri-system-js #14

tomwayson opened this issue Jul 4, 2016 · 7 comments

Comments

@tomwayson
Copy link
Member

tomwayson commented Jul 4, 2016

If you've got a publicly facing application built w/ esri-system-js, we want to hear about it. Leave a comment on this issue w/ the application name and URL and we'll add it to the Example Applications section of the README, or better yet, make a PR with your own updates to the README.

Thank you!

@jwerts
Copy link

jwerts commented Jul 5, 2016

@tomwayson This is an example app/blog post I did using esri-system-js if you're interested in including:

http://joshwerts.com/jsapi4-angular2/
http://joshwerts.com/blog/2016/05/17/esri-javascript-api-4-with-angular-2-and-typescript/

@tomwayson
Copy link
Member Author

Thanks @jwerts, I've added this to the README. I like that you include the set up for Jasmine/Karma!

I'd love to see how that works w/ v1.0.0-beta.0. I've opened a PR to @jwasilgeo's repo which could give you an idea of the changes that are involved. The major benefit is being able to use the type definitions from Esri.

@jwerts
Copy link

jwerts commented Jul 5, 2016

@tomwayson Cool! I was waiting to see that PR before updating to v1.0.0-beta.0. Should be testing that out soon. Thanks for your all your work on this!

@jwerts
Copy link

jwerts commented Jul 8, 2016

Updated my stuff to use v1.0.0-beta.0. Everything's working great now - did have one stumbling block though. Took a while to realize that the module property in tsconfig.json needed to be "system". After setting that, tsc was compiling properly and VS Code was happy w/ intellisense working.

{
  "compilerOptions": {
    "target": "es5",
    "module": "system",
...

@tomwayson
Copy link
Member Author

tomwayson commented Jul 9, 2016

Awesome! Looks like you even updated the code snippets in the blog post.

Good point about the compilerOptions.module property. TBH, I didn't even realize that was a requirement. I tried setting that to "amd" and saw the TS compile errors like [ts] Module '"esri/views/MapView"' has no default export. in VS Code, but the app did still seem to compile and work in the browser.

Thanks for bringing that to my attention, I'll make a note of that in the README.

@S-Gaballah
Copy link

@tomwayson I added startup app using esri-system-js to include if you like it

https://github.com/S-Gaballah/Angular-Esri-ArcGIS-API-3

I appreciate all comments

@tomwayson
Copy link
Member Author

thanks @S-Gaballah!

As I'm not doing Angular development these days I'm not really in a position to comment on your project, but I added the link to the README.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants