Store layer relations in extra table.
This commit is contained in:
1 parent
c7f37238d9
commit
ff2c3fb8c3
12 files changed
+307
-29
No files matched your search
@@ -127,8 +127,7 @@ class MapMapper extends AbstractMapper
|
||||
*/
|
||||
private function buildLayers(Map $map, MapModel $model, DefinitionMapper $mapper, LatLngBounds $bounds = null)
|
||||
{
|
||||
$ids = deserialize($model->layers, true);
|
||||
$collection = LayerModel::findMultipleByIds($ids);
|
||||
$collection = $model->findLayers();
|
||||
|
||||
if ($collection) {
|
||||
foreach ($collection as $layer) {
|
||||
|
||||
Reference in new issue
Block a user