Skip to content

The map got cutted as i resize the screen #34

@esgi-dendyanri

Description

@esgi-dendyanri

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions