amcharts / ammap3

JavaScript Maps V3
Other
92 stars 53 forks source link

The map got cutted as i resize the screen #34

Open esgi-dendyanri opened 6 years ago

esgi-dendyanri commented 6 years ago

Hi Guys,

Good job with the Map, i really like it and you guys the only one that support small country such as hongkong, singapore, etc.

But there is issue with the map when i resize it, peek 2018-05-11 20-10 i want it to be always at the same position, at least just like your example.

i try to follow your example on this, your example is working in codepen but not in mine.

here's the code: AmCharts.makeChart( 'chartdiv', { "type": "map", "dataProvider": { "map": "worldHigh", "getAreasFromMap": true }, } );

i use AmMap 3.21.12

i use RoR and include this js: //= require amcharts/amcharts //= require amcharts/pie //= require amcharts/serial //= require amcharts/themes/light //= require amcharts/plugins/responsive/responsive.min //= require ammap/ammap_amcharts_extension //= require ammap/maps/js/worldHigh

am i doing something wrong? how to prevent it? it might be not from you side, but i hope you can give me a hint.

Thanks in advance

amcharts commented 6 years ago

New comment from Zendesk by Anthony Piris on ticket 34102. (replying here will automatically notify amCharts support agent)

Hi there,

It looks like there's something up with your CSS, but it's hard to say what exactly without looking at the page or a fiddle demonstrates this. Could you provide a URL or a fiddle that reproduces this?

Best,

Anthony Piris amCharts