Add external WMS layer in permalink

Add external WMS layer in the permalink use the same principles of KML layer in permalink