Creating basic and standard deployments

3725
14
06-05-2014 10:36 AM
MichaelKnight
New Contributor II
Hi Guys,

We would like to create two kinds of deployment for our customers. One basic deployment that comes as default with our software and another standard one that can be purchased as an upgrade.

Currently our mapping component is a single jar but it uses both basic and standard ESRI classes.

Is it possible to use this jar for both deployment scenarios along with one deployment of the runtime? Or would we need to create two seperate jar's and runtime deployments to get this to work?

Thanks,
Mike
0 Kudos
14 Replies
MichaelKnight
New Contributor II
That's interesting does this new format allow us to zoom in on data in a similar way to using a .mpk based map?

If so then I would certianly be interested in getting further information what SDK level does it require?

Thanks,
Mike
0 Kudos
EricBader
Occasional Contributor III

Yes, this local geodatabase can be used as a datasource for your feature layers that get added to your map, and they behave just like connected feature layers: zoom in on the map, search and query, etc.

If all you need to do is visualize and query these feature layers, this is a BASIC-level licensing scenario.

If you want to edit these feature layers from the local geodatabase, while disconnected from Internet access, this is a STANDARD-level licensing scenario.

Hope this helps.

0 Kudos
JeremieJoalland1
Occasional Contributor II

Could it be possible to have some code sample for this ?

How to add this kind of Local Feature Layer to the map ?

would be great. thanks.

0 Kudos
MiguelMartinez1
New Contributor II

Hi Eric,

It's just that I want to do, local data, identify, zoom in and zoom out, some code sample would be great!

Thanks!

0 Kudos
EricBader
Occasional Contributor III

Once you have a geodatabase file on the file system, you can add feature layers to the map from it...

Geodatabase geodatabase = new Geodatabase(path);

GeodatabaseFeatureTable featureTable = geodatabase.getGeodatabaseFeatureTableByLayerId(0);

  // create a feature layer from the feature table

  featureLayer = new FeatureLayer(featureTable);

  map.getLayers().add(featureLayer);

Once the layer is in the Map, it behaves like any other full-fledged FeatureLayer.

Does this help?