<div dir="ltr">Awesome! We should highlight this somewhere in the documentation (I thought we did). I will double check and update the document. Thanks for the update. <div><br><div>- Aashish<br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 11:07 PM, Olsen.Erik <span dir="ltr"><<a href="mailto:Olsen.Erik@ensco.com" target="_blank">Olsen.Erik@ensco.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Aashish,<br>
<br>
You were right, I was missing that meta tag in my header in my test example. I just put it in and it worked. Thanks so much for the quick diagnosis.<br>
<br>
<br>
________________________________________<br>
From: Aashish Chaudhary [<a href="mailto:aashish.chaudhary@kitware.com">aashish.chaudhary@kitware.com</a>]<br>
Sent: Tuesday, January 12, 2016 10:38 PM<br>
To: Olsen.Erik<br>
Cc: <a href="mailto:Geojs-developers@public.kitware.com">Geojs-developers@public.kitware.com</a>; Jonathan Beezley<br>
Subject: Re: [Geojs-developers] Questions about using GeoJS<br>
<span class=""><br>
Hi Erik,<br>
<br>
What was the error you ran into with the first approach? I am wondering if you are running into utf-8 encoding issue since geojs.ext.min.js includes d3.js as well. Did you have<br>
<br>
<meta charset="UTF-8"><br>
<br>
in your <head> tag?<br>
<br>
- Aashish<br>
<br>
<br>
</span><span class="">On Tue, Jan 12, 2016 at 9:15 PM, Olsen.Erik <<a href="mailto:Olsen.Erik@ensco.com">Olsen.Erik@ensco.com</a><mailto:<a href="mailto:Olsen.Erik@ensco.com">Olsen.Erik@ensco.com</a>>> wrote:<br>
Hi all,<br>
<br>
</span>Has anyone had any experience using GeoJS via installing it via NPM? I've been trying to import my copy I downloaded via NPM into my application ucing CommonJS to import external sources and have been running into an error saying that "package geojs could not be found". I found a link to TonicDev on the GeoJS page that doesn't seem to import GeoJS properly either(<a href="https://tonicdev.com/npm/geojs" rel="noreferrer" target="_blank">https://tonicdev.com/npm/geojs</a><<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__tonicdev.com_npm_geojs&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=XYRB5cYPgwmCMdzzzan45WCrgvNwgbhX_V28UjVmfM4&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=https-3A__tonicdev.com_npm_geojs&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=XYRB5cYPgwmCMdzzzan45WCrgvNwgbhX_V28UjVmfM4&e=</a>>). I was wondering why that is if anyone happens to know, in case my case and this case are making the same wrong assumptions.<br>
<br>
So since the above method of importing GeoJS failed, I tried to import GeoJS by importing it via the instructions here: <a href="http://geojs.readthedocs.org/en/latest/quickstart.html" rel="noreferrer" target="_blank">http://geojs.readthedocs.org/en/latest/quickstart.html</a><<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__geojs.readthedocs.org_en_latest_quickstart.html&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=gP12rxLcZfZwcO45xxhbweDhRJDyE077gMORQ7Xc8lE&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__geojs.readthedocs.org_en_latest_quickstart.html&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=gP12rxLcZfZwcO45xxhbweDhRJDyE077gMORQ7Xc8lE&e=</a>><br>
<span class="">I noticed that when I tried to run my 'mymap.html' file via the browser, there seems to be an error in the geo.ext.min.js file that causes it not to load. However, when I serve up my html file(and the two Javascript files) via the GeoJS configuration of the Grunt Server, there is not an issue in this file and it seems to work flawlessly. Is there something in the Grunt Server Configuration that I should have in my development environment when using GeoJS?<br>
<br>
Thanks,<br>
Erik<br>
<br>
The information contained in this email message is intended only for the use of the individual(s) to whom it is addressed and may contain information that is privileged and sensitive. If you are not the intended recipient, or otherwise have received this communication in error, please notify the sender immediately by email at the above referenced address and note that any further dissemination, distribution or copying of this communication is strictly prohibited.<br>
<br>
The U.S. Export Control Laws regulate the export and re-export of technology originating in the United States. This includes the electronic transmission of information and software to foreign countries and to certain foreign nationals. Recipient agrees to abide by these laws and their regulations -- including the U.S. Department of Commerce Export Administration Regulations and the U.S. Department of State International Traffic in Arms Regulations -- and not to transfer, by electronic transmission or otherwise, any content derived from this email to either a foreign national or a foreign destination in violation of such laws.<br>
_______________________________________________<br>
Geojs-developers mailing list<br>
</span><a href="mailto:Geojs-developers@public.kitware.com">Geojs-developers@public.kitware.com</a><mailto:<a href="mailto:Geojs-developers@public.kitware.com">Geojs-developers@public.kitware.com</a>><br>
<a href="http://public.kitware.com/mailman/listinfo/geojs-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/geojs-developers</a><<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_geojs-2Ddevelopers&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=LxvTNIMn9Yc3w6pQy1d7pGbBPqp4PH3JT9w8Ygllt30&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__public.kitware.com_mailman_listinfo_geojs-2Ddevelopers&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=LxvTNIMn9Yc3w6pQy1d7pGbBPqp4PH3JT9w8Ygllt30&e=</a>><br>
<span class=""><br>
<br>
<br>
--<br>
| Aashish Chaudhary<br>
| Technical Leader<br>
| Kitware Inc.<br>
</span>| <a href="http://www.kitware.com/company/team/chaudhary.html" rel="noreferrer" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a><<a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_company_team_chaudhary.html&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=zj6QMjwPLZkTRv-mGjp77u6U-I24A2e8WA5IRsckPjc&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_company_team_chaudhary.html&d=CwMFaQ&c=DsZY2bea7iNIzyp-7sZ0t0F2UfNQZUfZhEPCv_2wBI0&r=sdAMZxqAoPTtVpp0WTsUGE05dS9lBt3NjsK7CxSH_Bc&m=PFT9J2sUa0t1CxuurBuftQiapzV3mkkArg3tdApo2FE&s=zj6QMjwPLZkTRv-mGjp77u6U-I24A2e8WA5IRsckPjc&e=</a>><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div></div></div></div>