To determine the perimeter of the island, you can iterate through each cell in the grid and check if it is a land cell. For each land cell, count the number of adjacent water cells (above, below, left, and right), and add that count to the total perimeter.

Here's an example code in Python:

```
def islandPerimeter(grid):
    perimeter = 0
    for i in range(len(grid)):
        for j in range(len(grid[0])):
            if grid[i][j] == 1:
                perimeter += 4
                if i > 0 and grid[i-1][j] == 1:
                    perimeter -= 2
                if j > 0 and grid[i][j-1] == 1:
                    perimeter -= 2
    return perimeter
```

In the code above, we start by initializing the perimeter to zero. We then iterate through each cell in the grid, and if the cell is a land cell (value of 1), we add 4 to the perimeter (since each land cell has 4 sides). 

Next, we check if the adjacent cell above or to the left of the current land cell is also a land cell. If it is, we subtract 2 from the perimeter (since the common side between the two cells does not contribute to the total perimeter). 

Finally, we return the total perimeter once all cells have been checked.
You are given row x col grid representing a map where grid[i][j] = 1 represents land and grid[i][j] = 0 represents water.

Grid cells are connected horizontally/vertically (not diagonally). The grid is completely surrounded by water, and there is exactly one island (i.e., one or more connected land cells).

The island doesn't have "lakes", meaning the water inside isn't connected to the water around the island. One cell is a square with side length 1. The grid is rectangular, width and height don't exceed 100. Determine the perimeter of the island.