GMap Macro cannot be longer than 500 characters but is currently 4822 characters long.
But I want to user more than 500 characters.where to modify code

example =
[gmap polygon=18.805486858957035,98.96295547485351 + 18.80223687122993,98.9703369140625 + 18.80751806940863,98.97299766540527 + 18.809630502263054,98.97595882415771 + 18.812758479110872,98.98351192474365 + 18.837252181604732,98.97445678710937 + 18.836114907961953,98.96870613098144 + 18.84017656418005,98.96698951721191 + 18.84269474169949,98.97419929504394 + 18.8405014924337,98.9754867553711 + 18.840339028385475,98.97789001464844 + 18.812961592479237,98.99149417877197 + 18.810808578294104,98.99514198303222 + 18.80373999835599,98.99479866027832 + 18.80170874229552,99.00415420532226 + 18.7999212166812,99.00376796722412 + 18.796996133816552,98.99969100952148 + 18.795005423355285,98.99887561798095 + 18.79333970875824,98.99956226348877 + 18.79203962737844,99.00054931640625 + 18.790008230127068,99.00265216827392 + 18.787570521079455,99.00402545928955 + 18.78537655276965,99.00432586669922 + 18.7830606663299,99.00389671325683 + 18.779607092328945,99.00604248046875 + 18.777128601476953,99.00647163391113 + 18.775543973468846,99.00574207305908 + 18.773918698496572,99.0038537979126 + 18.77229340785274,99.00260925292969 + 18.770586835811492,99.0018367767334 + 18.768636446611047,99.00166511535644 + 18.766848570024155,99.00226593017578 + 18.765060674480814,99.00351047515869 + 18.76266323934413,99.00372505187988 + 18.761931811670536,99.0021800994873 + 18.761119110535457,98.99921894073486 + 18.757908902773362,98.99660110473633 + 18.756161548824366,98.9937686920166 + 18.757055546128882,98.99110794067383 + 18.758965433591058,98.99158000946045 + 18.760712758499565,98.99076461791992 + 18.763028951991483,98.99145126342773 + 18.766848570024155,98.98209571838379 + 18.766482865659696,98.9813232421875 + 18.76087529943139,98.97776126861572 + 18.758721619374242,98.97432804107666 + 18.758884162224603,98.97175312042236 + 18.75681172915197,98.96947860717773 + 18.75754317902568,98.96780490875244 + 18.778022487626337,98.97698879241943 + 18.786392282391613,98.97771835327148 + 18.787164232807807,98.97552967071533 + 18.78574221613916,98.97561550140381 + 18.784360817022822,98.96681785583496 + 18.787326748234065,98.96484375 + 18.78635165332434,98.96325588226318 + 18.786311024247247,98.96222591400146 + 18.788504980384825,98.96123886108398 + 18.78968320429276,98.95535945892334 + 18.79203962737844,98.95334243774414 + 18.794274136049363,98.95338535308838 + 18.791998999673577,98.9617109298706 + 18.796021094899323,98.96304130554199 + 18.803211874139005,98.9619255065918 + 18.805486858957035,98.96295547485351 |polygon=18.758680983637184,98.9743709564209 + 18.758680983637184,98.9743709564209 + 18.758680983637184,98.9743709564209 |polygon=#000000/3/25/#0099cc/45:18.78338570494383,98.95763397216797 + 18.790617651875582,98.96020889282226 + 18.79378660941407,98.95046710968017 + 18.789967601932094,98.95188331604004 + 18.788951893871967,98.95192623138428 + 18.787042346135184,98.94866466522217 + 18.785701586915085,98.95287036895752 + 18.78371074293063,98.95445823669433 + 18.78338570494383,98.95763397216797 |polygon=#000000/3/25/#0099cc/45:18.77859132179813,98.95754814147949 + 18.781232312441702,98.95802021026611 + 18.78241058722066,98.95600318908691 + 18.78253247724471,98.95424365997314 + 18.78005402942266,98.95256996154785 + 18.78005402942266,98.95162582397461 + 18.77920078485139,98.94960880279541 + 18.776966076213114,98.94737720489502 + 18.77550334178554,98.94613265991211 + 18.771440123991606,98.94334316253662 + 18.769977341610083,98.94518852233887 + 18.766604767202647,98.94643306732178 + 18.76786441131958,98.94879341125488 + 18.77030240545837,98.95012378692627 + 18.77334984855381,98.95111083984375 + 18.775828394977686,98.9521837234497 + 18.777656807501952,98.95381450653076 + 18.77859132179813,98.95754814147949 |polygon=#000000/3/25/#0099cc/45:18.757380634883343,98.94235610961914 + 18.75807144640675,98.94158363342285 + 18.759696874127247,98.93802165985107 + 18.760428311492003,98.93746376037597 + 18.761647366718655,98.93566131591797 + 18.762460065308502,98.93609046936035 + 18.771318225944593,98.93579006195068 + 18.77282162903088,98.9373779296875 + 18.773187319646137,98.93913745880127 + 18.772862261360654,98.94111156463623 + 18.770586835811492,98.94274234771728 + 18.770017974625403,98.94441604614258 + 18.769083412795634,98.94518852233887 + 18.7670923724932,98.94531726837158 + 18.76530447953472,98.94518852233887 + 18.76489813758238,98.94566059112549 + 18.763475933039142,98.94445896148681 + 18.761931811670536,98.94428730010986 + 18.75920924745549,98.94295692443847 + 18.75778699494556,98.94304275512695 + 18.757380634883343,98.94235610961914 |polygon=#000000/3/25/#0099cc/45:18.770790000055644,98.93574714660644 + 18.770790000055644,98.93574714660644 + 18.770790000055644,98.93574714660644 |zoom=15 |center=18.74770897659874,98.94720554351806 |width=900px |height=600px |control=Small |type=Map]

Thank You.

Comments

wanyen’s picture

Issue summary: View changes

example code

breezeweb’s picture

(bump)
I'm having the same problem here on GMap 2.9 for D7; I need to add some map polygons and I get the same error. Note that the site in question was initially built in D6 and now has been upgraded to D7.

Any ideas how to fix this in GMap, or how to boost the field size? I assume I can't just change it in MySQL.

breezeweb’s picture

Version: 7.x-1.1-beta2 » 7.x-2.9
Category: Feature request » Bug report