Maryland does not access points for tickets received for out of state traffic convictions generally. The ticket you received in Virginia would not be assigned points to go on your MD license unless it is a serious violation instead of something simple like a speeding ticket.
Maryland and Virginia are part of a Driver's License Agreement which allows them to report tickets received in a different state back to the home state. So though it is not likely that you will receive points on your MD license for the VA ticket, the ticket itself might show up on your driving record. Also make sure to take care of the VA ticket because both states are part of a Non-Resident Violator Compact which means if you fail to pay a ticket received in a different state than your home state is required to suspend your driver's license.
Looking for new Maryland car insurance? Start your auto insurance comparison shopping here.