Add the search function to javascript web application

2118
2
11-15-2014 03:16 AM
abdelabdel
New Contributor II

Hi everyone,

 

I would like add a search function to my javascript web application.

The ArcGIS API for Javascript version used in the application development is 2.7 while the Search function using the Geocode service is not added only after the 3.3 API version of the ArcGIS Javascript API. In other terms, the Geocode service objects and classes are not supported in the 2.7 version which is used in the aaplication.

 

Can anyone helps how I can proceed in order to add the function ?

0 Kudos
2 Replies
JohnGravois
Frequent Contributor

the best way to proceed is to upgrade your application to use a more modern version of the jsapi.

Migrating to 3.0 | Guide | ArcGIS API for JavaScript

abdelabdel
New Contributor II

John,

Thank you for your response.

I'm totally agree with you that upgrade the application is the best way to proceed.

I think this method will take longer especially as it's not me who developed the first version of the application, having said that upgrade the application it's like I redevelop the application from scratch which will take a lot of time.

I would like to know if there is a more rapid method.

Thank you again.

Abdel

0 Kudos