-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from erick-otenyo/dev
Implement setting legend type for raster style and selecting labeled values
- Loading branch information
Showing
5 changed files
with
249 additions
and
200 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
geomanager/migrations/0046_colorvalue_show_on_legend_rasterstyle_legend_type.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Generated by Django 4.2.10 on 2024-02-29 07:58 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('geomanager', '0045_additionalmapboundarydata_active_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='colorvalue', | ||
name='show_on_legend', | ||
field=models.BooleanField(default=True, verbose_name='Show label on Legend'), | ||
), | ||
migrations.AddField( | ||
model_name='rasterstyle', | ||
name='legend_type', | ||
field=models.CharField(choices=[('basic', 'Basic'), ('choropleth', 'Choropleth'), ('gradient', 'Gradient')], default='choropleth', max_length=100, verbose_name='Legend Type'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.