zesage / panorama

Panorama - Flutter Widget
Apache License 2.0
114 stars 71 forks source link

i have issue with set lat log on image when i set response data. how can i set ? #47

Open HencyPithadiya opened 1 year ago

HencyPithadiya commented 1 year ago

point not set proper on image when i set latitude longitude on image

problem is when i set my latitude and longitude then it create issue if i pass same as package example it work but when i try to set my latitude longitude then it not set on proper location on image how can i set my latitude and longitude on image ?

my response latitude longitude

        Hotspot(
                      latitude: -0.28432929839672116,
                      longitude: 1.616277412081424,
                      width: 32.0,
                      height: 32.0,
                      widget: hotspotButton(text: "Next scene", icon: Icons.double_arrow, onPressed: () => setState(() => _panoId++)),
                    ),
                    Hotspot(
                      latitude: -0.09803491532566011,
                      longitude: 3.5010972079769416,
                      width: 32.0,
                      height: 32.0,
                      widget: hotspotButton(text: "Next scene", icon: Icons.double_arrow, onPressed: () => setState(() => _panoId++)),
                    ),
                    Hotspot(
                      latitude: -0.2971211211941356,
                      longitude: 4.726412439317375,
                      width: 32.0,
                      height: 32.0,
                      widget: hotspotButton(text: "Next scene", icon: Icons.double_arrow, onPressed: () => setState(() => _panoId++)),
                    ),