Static Map Beta v5 Declutter bug

2 posts / 0 new
Last post
i.vatsenko
Static Map Beta v5 Declutter bug

I facing with marker bug when i trying to add declutter flag.

Here is example

https://beta.mapquestapi.com/staticmap/v5/map?format=png&key=<mykey>&loc...|marker-sm-B40404-FFFFFF-FFFFFF-FFFFFF-B40404-H||30.246678,-92.100016|marker-sm-0B2161-FFFFFF-FFFFFF-FFFFFF-0B2161-1||30.229495,-90.996269|marker-sm-0B2161-FFFFFF-FFFFFF-FFFFFF-0B2161-2&size=640,480&bestfit=30.642221,-92.108139,30.229515,-90.488143&margin=5&shape=weight:3|border:380B6170|cmp|enc:ql%7DyDlqpgPikApK%3F%3FvAkN%3F%3FjSc%5Bx%7CHkxBj%7EOoHzrBikA%3F%3FdRxQD%60mLrXrtIpI%7Cfj%40hv%40%7CnNb_Ftd%5BxcAbkDcChfB%3F%3Fsp%40toJex%40hdA%3F%3FsWxM%7DHrhFunA%7CmIrSrbI%7CzWjh%7BAp%7EAx%7EM%7EwAx%7BHrcArtCljBvyIbiBxjG%60EfqJ%3F%3FqLjY%3F%3FgUD%3F%3Fxq%40_E%3F%3FmL_TwDuoJqiBqlGwkBe_Jo%60AqiCqxAw%7CHydBa%7BNexWad%7BAePmwHjmAmeIdJudF%60v%40si%40%60Wqi%40xi%40u%7CG%3F%3FdV_w%40l%7CG_hK%60gJ_cIbpFk%7C%40%3F%3FzZaD%3F%3Ffi%40xNhpC%5Df%7C%40tl%40%3F%3Fg%7C%40ul%40ipC%5C%7Do%40kY%3F%3FojGjlA_cJjaIuw%40%7EjA%3F%3FyXhY%3F%3Fq%60BodA%3F%3Fyg%40mOqtBD_%5Dj%5C%3F%3FezEuxY%7Bv%40qtNaIagj%40yXupIEitM%3F%3FwbCd%7EAssOdFegInyB%3F%3FyNqH%3F%3FcAS%3F%3FkIlx%40%3F%3FhkAqK&declutter=true​

So when I add declutter=true​ - my marker became circle...

 


Thomas.Horacek
Bug Report
Thanks for the bug report! It looks like we have some parsing issues with our markers. By default, when the declutter flag is turned on, markers turn into circles because the algorithm dynamically reposistions markers that are stacked. However, your circles text shouldn't be turning white on declutter, we will get that fixed.  For the time being you can just use markers with one color (marker-sm-B40404-H) like the request below and your text should show up with the declutter flag set to true. Let us know if you have any more feedback, it's greatly appreciated! https://beta.mapquestapi.com/staticmap/v5/map?format=png&key=KEY&locations=30.642945,-90.533538|marker-sm-B40404-H||30.246678,-92.100016|marker-sm-0B2161-1||30.229495,-90.996269|marker-sm-0B2161-2&size=640,480&bestfit=30.642221,-92.108139,30.229515,-90.488143&margin=5&shape=weight:3|border:380B6170|cmp|enc:ql%7DyDlqpgPikApK%3F%3FvAkN%3F%3FjSc%5Bx%7CHkxBj%7EOoHzrBikA%3F%3FdRxQD%60mLrXrtIpI%7Cfj%40hv%40%7CnNb_Ftd%5BxcAbkDcChfB%3F%3Fsp%40toJex%40hdA%3F%3FsWxM%7DHrhFunA%7CmIrSrbI%7CzWjh%7BAp%7EAx%7EM%7EwAx%7BHrcArtCljBvyIbiBxjG%60EfqJ%3F%3FqLjY%3F%3FgUD%3F%3Fxq%40_E%3F%3FmL_TwDuoJqiBqlGwkBe_Jo%60AqiCqxAw%7CHydBa%7BNexWad%7BAePmwHjmAmeIdJudF%60v%40si%40%60Wqi%40xi%40u%7CG%3F%3FdV_w%40l%7CG_hK%60gJ_cIbpFk%7C%40%3F%3FzZaD%3F%3Ffi%40xNhpC%5Df%7C%40tl%40%3F%3Fg%7C%40ul%40ipC%5C%7Do%40kY%3F%3FojGjlA_cJjaIuw%40%7EjA%3F%3FyXhY%3F%3Fq%60BodA%3F%3Fyg%40mOqtBD_%5Dj%5C%3F%3FezEuxY%7Bv%40qtNaIagj%40yXupIEitM%3F%3FwbCd%7EAssOdFegInyB%3F%3FyNqH%3F%3FcAS%3F%3FkIlx%40%3F%3FhkAqK&declutter=true