Displaying multiple map markers in Google Maps API

前端 未结 2 1258
南笙
南笙 2021-01-23 21:04

working on some perl code in a .cgi file that loops through a hash list of IP addresses, then runs each IP address through a web service that returns that latitude and longitude

2条回答
  •  广开言路
    2021-01-23 21:22

    Fixed it and have everything working now. The problem was that the $latitude and $longitude variables where still being assigned a bunch of extra text that was not needed. Now it is just assigned the value.

    my $latitude = $result->valueof('//LATITUDE');
    my $longitude = $result->valueof('//LONGITUDE');
    

提交回复
热议问题