Skip to content

Commit

Permalink
Updated for the addition of ordered anchor points in example styles
Browse files Browse the repository at this point in the history
  • Loading branch information
williamscraigm committed Nov 8, 2021
1 parent f58d452 commit b394da5
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The example below illustrates how to add a country indicator with an option to d

## Create a custom dictionary
In order to modify the dictionary for MIL-STD-2525C it is necessary to create a custom dictionary.
1. Download the [Joint Military Symbology MIL-STD-2525C](https://www.arcgis.com/home/item.html?id=96fd0d8bb7214755a45818e57ce74988) style from ArcGIS Online.
1. Download the [Joint Military Symbology MIL-STD-2525C](https://www.arcgis.com/home/item.html?id=4e31ddc1f609432d98bd400f87f6b7bf) style from ArcGIS Online.
2. Open the copy of mil2525c.stylx in an SQLite database editor.
3. Update the `dictionary_name` to the name of the custom dictionary.
4. Make the style file editable by changing the `readonly` value to `false`.
Expand Down Expand Up @@ -148,6 +148,7 @@ var _show_fill = $config.fill != 'OFF' && !_is_sea_mine;
var _show_amplifiers = $config.amplifiers != 'OFF';
var _show_text = $config.text != 'OFF';
var _use_conditionalt = $config.condition != 'PRIMARY';
var _use_cp = $config.model == 'ORDERED ANCHOR POINTS';
var _use_flag = $config.country != 'ABBREVIATION';
```
Expand Down
2 changes: 1 addition & 1 deletion docs/add-a-new-identity-to-MIL-STD-2525C.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To add these new identities the dictionary script must be updated to recognize t

## Create a custom dictionary
In order to modify the dictionary for MIL-STD-2525C it is necessary to create a custom dictionary.
1. Download the [Joint Military Symbology MIL-STD-2525C](https://www.arcgis.com/home/item.html?id=96fd0d8bb7214755a45818e57ce74988) style from ArcGIS Online.
1. Download the [Joint Military Symbology MIL-STD-2525C](https://www.arcgis.com/home/item.html?id=4e31ddc1f609432d98bd400f87f6b7bf) style from ArcGIS Online.
2. Open the copy of the mil2525c.stylx in an SQLite database editor.
3. In the meta table, update the `dictionary_name` to the name of the custom dictionary.
4. Make the style file to editable by changing the `readonly` value to `false`.
Expand Down
2 changes: 1 addition & 1 deletion docs/add-a-new-symbol-set-to-MIL-STD-2525D.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The new symbol set will have a value of `32`.
## Create a custom dictionary

To modify the dictionary for MIL-STD-2525D you must first create a custom dictionary.
1. Download the [Joint Military Symbology MIL-STD-2525D](https://www.arcgis.com/home/item.html?id=46294aa60b0b47feaca642450127ae12) file from ArcGIS Online.
1. Download the [Joint Military Symbology MIL-STD-2525D](https://www.arcgis.com/home/item.html?id=44b781991d194dd8bc423e642c1932c5) file from ArcGIS Online.
2. Open the copy of the mil2525d.stylx in an SQLite database editor.
3. In the `meta` table, update the `dictionary_name` to the name of the custom dictionary.
4. Make the style file editable by changing the `readonly` value to `false`.
Expand Down
1 change: 1 addition & 0 deletions variable_declarations/mil2525c_b2_app6b_arcade_vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ modifiers: "ON",
amplifiers: "ON",
text: "ON",
condition: "ALTERNATE",
model: "GEOMETRY",
}
1 change: 1 addition & 0 deletions variable_declarations/mil2525d_app6d_arcade_vars.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,5 @@ amplifiers: "ON",
text: "ON",
condition: "ALTERNATE",
sea_mine: "MEDAL",
model: "GEOMETRY",
}

0 comments on commit b394da5

Please sign in to comment.