Select to view content in your preferred language

Esri javascript api 1.6 vs 3.6 custom dojo and Feature layer vs Graphics Layer

2683
6
09-02-2013 12:31 AM
vinayb
by
Deactivated User
HI ALL,

  I have to develop a web application which has lot of Rich UI and i want to use custom dojo 1.9 not  given by ESRI , How to achive this. The second    confusion am having over using arcgis javascript api I see below two api links

  1)<script src="http://js.arcgis.com/3.6/"></script>
  2) <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.6"></script>

  IN the second javascript api there is no Feature Layer rather it has Graphic layer , please let me know which one to use.
0 Kudos
6 Replies
SunilPalkar
Deactivated User
>>You need to use use
<script src="http://js.arcgis.com/3.6/"></script> 
Second one is very old api version  Always use latest API version

>> You can use latest Dojo version with ESRI JSAPI & what the reason you want to use Dojo 1.9 ?

Please let us know

HI ALL,

  I have to develop a web application which has lot of Rich UI and i want to use custom dojo 1.9 not  given by ESRI , How to achive this. The second    confusion am having over using arcgis javascript api I see below two api links

  1)<script src="http://js.arcgis.com/3.6/"></script>
  2) <script type="text/javascript" src="http://serverapi.arcgisonline.com/jsapi/arcgis/?v=1.6"></script>

  IN the second javascript api there is no Feature Layer rather it has Graphic layer , please let me know which one to use.
0 Kudos
vinayb
by
Deactivated User
I dont want to use dojo given by Esri for no Esri related stuffs i have to develop lot of Rich UI where i want to use latest dojo 1.9 so i want to load custom dojo .I found a link http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssa... which described to process with <script src="http://js.arcgis.com/3.6/"></script> i am not able to load custom dojo.Please let me know what could be done.
0 Kudos
JonathanUihlein
Esri Regular Contributor
I dont want to use dojo given by Esri for no Esri related stuffs i have to develop lot of Rich UI where i want to use latest dojo 1.9 so i want to load custom dojo .I found a link http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/help/jssamples_start.htm#jssa... which described to process with <script src="http://js.arcgis.com/3.6/"></script> i am not able to load custom dojo.Please let me know what could be done.



As sunilpalkar asked, is there a specific reason you need to use Dojo 1.9 over 1.8?

I am aware of many mobile enhancements in the new Dojo version but unless there is a specific reason that you need Dojo 1.9, you should be able to use the Esri JSAPI with no problem.
0 Kudos
vinayb
by
Deactivated User
I actually want o use DOJO 1.7 as it approved by our company but no dojo1.8 , yeah esri uses dojo1.8 but i we cannot use that but we can use ESRI only for ESRI related stuffs
0 Kudos
JonathanUihlein
Esri Regular Contributor
i want to use latest dojo 1.9

I actually want o use DOJO 1.7


I am confused...

Is there a specific technical reason that makes Dojo 1.8 unattractive for use? You haven't posted any technical details.

If you need to use 1.7, you could probably use an older version of the Esri JSAPI that uses Dojo 1.7

More details here:
https://developers.arcgis.com/en/javascript/jshelp/new_v32.html
0 Kudos
vinayb
by
Deactivated User
I want to use dojo 1.7 which is   approved version in my company , if i load esri js api 3.2 will it load complete dojo ?
0 Kudos