You can of course, but this method is really bad, you should create a table with the coordinates, vehicles that'll appear on the grid list, then you can create all the markers and assing them the vehicles ( could be either element data, or another table ), then when hit the marker, send them to the client side, show the GUI and add the vehicles to the grid list.