This commit is contained in:
gregoirenovel 2018-10-15 16:25:16 +02:00
parent ac2cc1e5f4
commit 34ac68b27f
6 changed files with 9 additions and 9 deletions

View file

@ -27,7 +27,7 @@ class ModuleApiCartoService
coordinates.flat_map do |coordinate|
CARTO::SGMAP::QuartiersPrioritaires::Adapter.new(
coordinate.map { |element| [element['lng'], element['lat']] }
).to_params
).results
end
end
@ -35,7 +35,7 @@ class ModuleApiCartoService
coordinates.flat_map do |coordinate|
CARTO::SGMAP::Cadastre::Adapter.new(
coordinate.map { |element| [element['lng'], element['lat']] }
).to_params
).results
end
end
end