fix: 增加导流区渲染样式
This commit is contained in:
@@ -113,6 +113,8 @@
|
||||
|
||||
<style-area fill="#3742fa" id="sign-bg" />
|
||||
|
||||
<!-- 对象要素的默认样式 -->
|
||||
<style-area fill="#00000000" stroke-width="2" stroke="#ffffff" id="obj-area" />
|
||||
<!--###### LINE styles ######-->
|
||||
|
||||
<!-- base style for fixed width lines -->
|
||||
@@ -2252,5 +2254,10 @@
|
||||
<line use="s2e" />
|
||||
</m>
|
||||
</m>
|
||||
|
||||
<!-- 导流区 -->
|
||||
<m v="OMDB_FILL_AREA">
|
||||
<area use="obj-area" repeat="false" src="@text:人行横道"></area>
|
||||
</m>
|
||||
</m>
|
||||
</rendertheme>
|
||||
@@ -42,7 +42,7 @@ public class OMDBTileDataSource implements ITileDataSource {
|
||||
Realm.getDefaultInstance().refresh();
|
||||
isUpdate = false;
|
||||
}
|
||||
RealmQuery<RenderEntity> realmQuery = Realm.getDefaultInstance().where(RenderEntity.class).rawPredicate("taskId ="+RealmDBParamUtils.getTaskId() +" and tileX>=" + xStart + " and tileX<=" + xEnd + " and tileY>=" + yStart + " and tileY<=" + yEnd + " and enable>=1");
|
||||
RealmQuery<RenderEntity> realmQuery = Realm.getDefaultInstance().where(RenderEntity.class).rawPredicate("taskId ="+RealmDBParamUtils.getTaskId() +" and tileX>=" + xStart + " and tileX<=" + xEnd + " and tileY>=" + yStart + " and tileY<=" + yEnd /*+ " and enable>=1"*/);
|
||||
// 筛选不显示的数据
|
||||
if (Constant.HAD_LAYER_INVISIABLE_ARRAY != null && Constant.HAD_LAYER_INVISIABLE_ARRAY.length > 0) {
|
||||
realmQuery.beginGroup();
|
||||
|
||||
Reference in New Issue
Block a user