Supporting custom styles in lines and shapes


I am very new to OPEN GL ES. I need to draw lines and shapes over a vector map in an IOS application. I want to know how to draw lines and shapes with user defined styles apart from predefined(built in)styles.
Which functions I need to override and how to set custom styles and attributes.
Can I get any samples?